I want to detect the colorspace (RGB/CMYK) of the input JPG image, using Qt Image API's. I tried exploring QImage and QImageReader. Is there any other way to solve this problem?
Asked
Active
Viewed 359 times
0
-
I found QImage(Reader) to be quite limited regarding this. I suggest using libjpeg to get more information about your image. – Martin Hennings Jan 22 '19 at 13:26
-
This link https://stackoverflow.com/a/50861048/2836621 plus `exiftool -v YourImage.jpg` should be enough to work it out. – Mark Setchell Jan 22 '19 at 14:25