FPDFImageObj_GetImagePixelSize function
- @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Pointer<
UnsignedInt> , Pointer<UnsignedInt> )>(FPDF_PAGEOBJECT, ffi.Pointer<ffi.UnsignedInt>, ffi.Pointer<ffi.UnsignedInt>)>()
- FPDF_PAGEOBJECT image_object,
- Pointer<
UnsignedInt> width, - 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
@ffi.Native<
FPDF_BOOL Function(
FPDF_PAGEOBJECT,
ffi.Pointer<ffi.UnsignedInt>,
ffi.Pointer<ffi.UnsignedInt>,
)
>()
external int FPDFImageObj_GetImagePixelSize(
FPDF_PAGEOBJECT image_object,
ffi.Pointer<ffi.UnsignedInt> width,
ffi.Pointer<ffi.UnsignedInt> height,
);