Hello ,
I just wanted to know how to find out if PNG is monochrome or not? and how to convert any png to 1bit monochrome png.
Thanks
How to recognize that PNG is a monochrome image
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How to recognize that PNG is a monochrome image
Code: Select all
identify %[colorspace] in.png
There are many different methods to make an image into black and white only. One method is:
Code: Select all
convert in.png -colorspace Gray -threshold 50% out.png
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to recognize that PNG is a monochrome image
Please always provide your IM version and platform, since syntax may differ.
Re: How to recognize that PNG is a monochrome image
Hello . Thank you for response I am using IM 6.6.6 version on wndows platform
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to recognize that PNG is a monochrome image
6.6.6 is very old (over 250 versions old). Don't you think it is time to upgrade?