Right now there is an optioon in the Output section to preserve (or not) image metadata.
As I recently discovered ICC profile is preserved even when the option in question is disabled.
The image in question must have had profiles fo every printer and monitor ever made or something like that, because after conversion I got an image 90 by 125 pixels taking about 250 kilobytes, which is a bit extreme, if you ask me.
So, is it possible to bundle the profiles under metadata and preserve it or not depending on the metadata option, or add a separate option to deal with them?
Stripping (or "not preserving") ICC profile
Moderators: XnTriq, helmut, xnview
-
- Posts: 17
- Joined: Sun Feb 12, 2012 12:29 am
-
- Author of XnView
- Posts: 45068
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 17
- Joined: Sun Feb 12, 2012 12:29 am
Re: Stripping (or "not preserving") ICC profile
If I open the file in XnView and then save the ICC profile is removed. But if I convert the file with XnConvert (usually after resize) the profile stays while every other metadata is removed.
-
- Author of XnView
- Posts: 45068
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 17
- Joined: Sun Feb 12, 2012 12:29 am
Re: Stripping (or "not preserving") ICC profile
No. This is the simplest script I use which should strip all the metadata and profiles and save the file as an jpg with modified filename:xnview wrote:'preserve color profile' is checked?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name="jpg">
<Output folder="" filename="{Filename}_{DstWidth}" case="1" format="JPEG">
<Options overwrite="1" orgDate="false" keepMeta="false" keepICC="false" keepFolder="false" delOrg="false" multipage="false" allPages="false" openExplorer="false" clearItems="false"/>
<JPEG quality="95" progressive="true" optimizeHuffman="true" rebuildThumb="true" orgQuality="false" DCTMethod="0" subSampling="0" smoothFactor="0"/>
</Output>
</XnView_script>
-
- Author of XnView
- Posts: 45068
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Stripping (or "not preserving") ICC profile
See Issue 352 for current status and details.
Pierre.