I got some images taken with a NIKON D5100 camera that I want to show and rotate using ImageEn. This camera uses the more professional Adobe RGB color space. Now I need to find out which color profile I need to use in order to show the image with the correct colors. I am using ImageEn 4.3.1 now, but I still cannot read this info from the EXIF data. Even worse, this very important info is lost after using the lossless rotation.
Using the wrong color space means that a beautiful image with vivid colors could have some kind of gray haze on it or other color problems. Here's two sample images that demonstrate the problem. This assumes that you have a professionally calibrated monitor. If you don't, then you might have to believe me ;-)
The color space is stored in the Interoperability IFD. The EXIF Attribute IFD has a pointer to the Interoperability IFD in the tag $A005.
Here's a sample image with the interoperability IFD with Interoperability Index "R03" which means Adobe RGB: I had to resize the image using Adobe Photoshop so that I could attach it to your forum. Unfortunately Adobe Photoshop embedded an ICC profile in addition to the InterOp IFD. Please don't suggest that I read this. It is not present in the original camera image.
Could you please provide a version of ImageEn that handles the Interoperability IFD correctly?
ImageEn can only use ICC color profiles (enabling it using "IEGlobalSettings().EnableCMS := True;"). Anyway, please could you post a link to the image?
I'll send you a picture by E-Mail. I've received quite a lot of images with this interoperability IFD, so this issue is pretty critical for us, especially because this IFD is lost after the lossless rotation. Even the Photo Viewer that ships with Windows evaluates this info. Now I know why so many images look correct in Windows Photo Viewer and wrong in ImageEn.
I just implemented it. Next minor release will be able to read interoperability tags (index and version) and assign automatically AdobeRGB1998 color profile when index is 'R03' (and of course EnableCMS=true). A developing version with this feature is available on request.