getImageInfo

Get information about an image.
getImageInfo([in] int idx, [out] int *mask, [out] int *colorSpace, [out] int *width, [out] int *height)
This function retrieves information about the idxth image on the page specified in the last call to getImages.

The following information is returned:

VB:
Dim mask As Long, colorSpace As Long, w As Long, h As Long ' scan the images on page 1 pdf.getImages(1) nImgs = pdf.numImages For i = 0 To nImgs-1 pdf.getImageInfo(i, mask, colorSpace, w, h) .... Next i
getImages
numImages