Click or drag to resize

ElementGetImageColorSpace Method

Gets Bitmap
Gets Bitmap
Gets the image color space.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public ColorSpace GetImageColorSpace()

Return Value

Type: ColorSpace
GDI+ bitmap from this image. PDFNet creates a GDI+ bitmap that closely matches the original image in terms of the image depth and the number of color channels. PDF color spaces that do not have a counterpart in GDI+ are converted to RGB.

Return Value

Type: ColorSpace
BitmapSource from this image. PDFNet creates a GDI+ bitmap that closely matches the original image in terms of the image depth and the number of color channels. PDF color spaces that do not have a counterpart in GDI+ are converted to RGB. Then convert into BitmapSource.

Return Value

Type: ColorSpace
The SDF object representing the color space in which image are specified or NULL if: - the image is an image mask - or is compressed using JPXDecode with missing ColorSpace entry in image dictionary. The returned color space may be any type of color space except Pattern.
See Also