I am trying to find the colorspace of an image in a pdf file using spire pdf.
I tried with a pdf file with a CMYK image created from Photoshop. But always I am getting
RGB colorspace for the image.
Image[] images = doc.Pages[0].ExtractImages();
Image image=images[0];
I tried the following :
1. Checked image.Flags
2. Checked image.PixelFormat
Both didn’t work for me. Is there any other way to find whether the image is CMYK?