Export... removes ICC profile

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Export... removes ICC profile

Post by Hacker »

Hi,
XnView MP 1.0 64-bit.
Why does "Export..." to JPG not include the ICC profile of the original image if "Remove all Metadata" is not checked?

TIA
Roman
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

the profile is applied when loading, only Convert can save original profile
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

Hello Pierre,
I think Save as... also includes the ICC profile.
Is there a way then to "copy" the profile from the original image to the image after export, please? And is there any other metadata that is lost when using Export...?

TIA
Roman
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

Hacker wrote: Wed Jun 15, 2022 8:47 am I think Save as... also includes the ICC profile.
no it's the same with 'Save'
Is there a way then to "copy" the profile from the original image to the image after export, please? And is there any other metadata that is lost when using Export...?
The only way is 'batch convert'
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

xnview wrote: Thu Jun 16, 2022 7:04 am
Hacker wrote: Wed Jun 15, 2022 8:47 am I think Save as... also includes the ICC profile.
no it's the same with 'Save'
Very strange. If I open a JPG image which includes an ICC profile and use Save as... to simply save it then it retains the ICC profile.
(Of course, "Keep ICC profile" must be checked in the JPG write options.)

Roman
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

Settings>Icc is enabled?
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

xnview wrote: Thu Jun 16, 2022 9:30 am Settings>Icc is enabled?
If you mean Settings - General - ICC - Use ICC profile for monitor (slower), then yes, this is enabled.

Roman
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

could you send me the file used?
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

Here you are.

Roman
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

yes right, when you use 'Save'/'Save as', the color profile used in the image is saved, not the original profile

'Export' should save profile too.
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

Not sure I understand - what do you mean by "profile used in the image" and "original profile"?
Also, so, you confirm the difference in saving using "Save as" and "Export"?

TIA
Roman
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 45814
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export... removes ICC profile

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.01. Please check and confirm the bug fix here.
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Export... removes ICC profile

Post by Hacker »

Seems to work fine now, thank you!

Roman