Function nvcvImageGetSize

Function Documentation

NVCVStatus nvcvImageGetSize(NVCVImageHandle handle, int32_t *width, int32_t *height)

Get the image dimensions in pixels.

Parameters:
  • handle[in] Image to be queried.

    • Must not be NULL.

  • width, height[out] Where dimensions will be written to.

Return values:
  • #VPI_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.

  • #VPI_SUCCESS – Operation executed successfully.