getImageDecodeRange

Get the number of components per pixel for an image.
getImageDecodeRange([in] int idx, [in] int component, [out] double *low, [out] double *high)
This function returns the component decode range (which is most commonly 0..1 or 1..0, but can be completely different) for the idxth image on the page specified in the last call to getImages.
VB6:
Dim low As Double, high As Double pdf.getImages 1 nImgs = pdf.numImages For i = 0 To nImgs-1 nComps = pdf.getImageNumComponents i ' image i has nComps components For j = 0 To nComps-1 pdf.getImageDecodeRange i, j, low, high ' image i, component j has range low .. high .... Next j Next i
getImages
numImages
getImageNumComponents