Author Topic: ICC profile not embedded in JPEG images  (Read 3220 times)

Offline naavis

  • Member
  • *
  • Posts: 66
ICC profile not embedded in JPEG images
« on: 2014 December 27 13:06:17 »
Hi!

If I assign an ICC profile to an open image with AssignICCProfile and then save the image as a JPEG (making sure that the "ICC Profile" checkbox is ticked in the save dialog), and the open the saved image, PixInsight tells me that the image does not contain an embedded ICC profile. I am on Windows 8.1 and the latest PI version.
Samuli Vuorinen

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: ICC profile not embedded in JPEG images
« Reply #1 on: 2014 December 28 01:56:40 »
I have just made some tests on Windows 8.1 with AssignICCProfile and ICCProfileTransformation, and ICC profiles are always embedded in JPEG files without problems. The same on Linux. Are you sure you're opening the right file?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline naavis

  • Member
  • *
  • Posts: 66
Re: ICC profile not embedded in JPEG images
« Reply #2 on: 2014 December 28 04:06:37 »
Hi! I'm pretty sure I'm opening the correct file, since it is the only one in the directory. I attached some screenshots of the process to reproduce the problem. If I'm doing something wrong, please correct me.


First, I create a new RGB image with PixelMath.


This is what AssignICCProfile looks like before assigning the ICC profile.


This is what AssignICCProfile looks like after assigning the ICC profile.


I save the image as this_should_contain_an_icc_profile.jpg with the settings shown here.


This is what happens when I reopen the image.


If I choose "Leave the image untagged" in the "Missing ICC Profile" dialog and then open AssignICCProfile, the image seems to contain a profile after all.

The final image can be found in http://naavis.kapsi.fi/pixinsight/icc_profile/this_should_contain_an_icc_profile.jpg
« Last Edit: 2014 December 28 04:56:59 by naavis »
Samuli Vuorinen

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: ICC profile not embedded in JPEG images
« Reply #3 on: 2014 December 28 05:14:48 »
Bug confirmed.

Profiles are embedded in JPEG, TIFF, JP2, FITS and XISF files without problems. The bug is a wrong missing profile alert when the "Ask what to do" missing profile policy is selected on Color Management Setup. The warning message is a false positive; just ignore it.

This will be fixed in the next version of the core application. In the meanwhile, please do the following:

- Select EDIT > Color Management Setup from the main menu.

- On the ColorManagementSetup tool, click the Reset button (bottom right corner)

- If necessary, select your default profiles, color proofing options, etc, but do not change policies.

- Click the Apply Global button (blue sphere).

Sorry for the inconvenience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline naavis

  • Member
  • *
  • Posts: 66
Re: ICC profile not embedded in JPEG images
« Reply #4 on: 2014 December 28 06:03:14 »
Thanks!
Samuli Vuorinen