Hi,
I am new to imagemagick command line options. I am on a windows 2003 SP2 server.
I need to convert a "Grayscale 8bits PNG" into a "RVB PNG" (I check using Photoshop)
I have tried the following options without desired result:
-colorspace RGB
-define png:color-type='2'
-define png:color-type='6'
but the resulting PNG image is still in Grayscale mode in Photoshop.
I would like to have the same as the Photoshop menu "Image\Mode\Couleurs RVB"
Anyone could help me please ?
Thanks for your help
convert options
-
- Posts: 1
- Joined: 2012-11-22T04:08:04-07:00
- Authentication code: 6789
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: convert options
convert in.png png24:out.png
may do what you want.
may do what you want.
snibgo's IM pages: im.snibgo.com
Re: convert options
The "-define png:color-type='2'" directive is working for me, using the current ImageMagick-6.8.0-6 from Svn. Maybe PhotoShop is recognizing that it only has gray pixels, regardless of the format.