From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594693
$ convert 1x1_.png -strip 1x1.png
$ ls -lh 1x1*
-rw-r--r-- 1 hramrach hramrach 85 2010-08-28 14:07 1x1_.png
-rw-r--r-- 1 hramrach hramrach 282 2010-08-28 14:18 1x1.png
[solved] -strip adds additional tags to the image
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
[solved] -strip adds additional tags to the image
Last edited by broucaries on 2010-10-07T02:21:49-07:00, edited 1 time in total.
Re: -strip adds additional tags to the image
The extra tags are zTXt chunks.
Meanwhile, you can use
to get rid of them.
Glenn
- 0 date:create: 2010-09-13T12:59:09-04:00
1 date:modify: 2010-09-13T12:59:09-04:00
Meanwhile, you can use
Code: Select all
pngcrush -rem text file.png file_clean.png
Glenn
Re: -strip adds additional tags to the image
Or use:
convert 1x1_.png -strip +set date:create +set date:modify 1x1.png
convert 1x1_.png -strip +set date:create +set date:modify 1x1.png
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: -strip adds additional tags to the image
Does next version solve this problem ?
Re: -strip adds additional tags to the image
In the current version of ImageMagick, the -strip option removes the create and modify date properties.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: -strip adds additional tags to the image
Thank do not see this bug corrected in changelog so ask here.