Search found 3 matches

by windy_zhh
2016-01-05T20:01:06-07:00
Forum: Users
Topic: how to remove "Histogram" info in image
Replies: 5
Views: 3716

Re: how to remove "Histogram" info in image

-set comment should come after the image has been read, eg:
# ./convert 0f9fa9ffcf62ab770e6fa6d8510cf855.png -set comment "" -quality 100 2.jpg

As "-quality" applies only to writing the JPG, I've moved that to the end.

I tried it again, but it still didn't work.

# ./convert ...
by windy_zhh
2016-01-05T07:20:39-07:00
Forum: Users
Topic: how to remove "Histogram" info in image
Replies: 5
Views: 3716

Re: how to remove "Histogram" info in image

"identify -verbose" re-calculates histogram data. If a histogram is stored in the file, it is stored as a comment. You can remove comments with
"-set comment ""

See http://www.imagemagick.org/script/command-line-options.php#comment

Thank you. I tried your method, but it didn't seem to work ...
by windy_zhh
2016-01-05T03:17:52-07:00
Forum: Users
Topic: how to remove "Histogram" info in image
Replies: 5
Views: 3716

how to remove "Histogram" info in image

I have a png image with the "histogram" info, I use command line identify to display the detail below.

Image: /root/0f9fa9ffcf62ab770e6fa6d8510cf855.png
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 460x480+0+0
Units: Undefined
Type: TrueColor ...