Skip to contents

Faster alternative to pdf_image_info() when only the source-pixel dimensions are needed. Wraps FPDFImageObj_GetImagePixelSize.

Usage

pdf_image_size(obj)

Arguments

obj

A pdfium_obj of type "image".

Value

An integer vector with named elements width and height.

See also

pdf_image_info() for the full metadata block.