FPDFImageObj_GetImagePixelSize method

int FPDFImageObj_GetImagePixelSize(
  1. FPDF_PAGEOBJECT image_object,
  2. Pointer<UnsignedInt> width,
  3. Pointer<UnsignedInt> height
)

Experimental API. Get the image size in pixels. Faster method to get only image size.

image_object - handle to an image object. width - receives the image width in pixels; must not be NULL. height - receives the image height in pixels; must not be NULL.

Returns true if successful.

Implementation

int FPDFImageObj_GetImagePixelSize(FPDF_PAGEOBJECT image_object,
ffi.Pointer<ffi.UnsignedInt> width,
ffi.Pointer<ffi.UnsignedInt> height,
) {
  return _FPDFImageObj_GetImagePixelSize(image_object,
width,
height,
);
}