Hi guys,
I assumed all of you reading this had some experienced with the "Save for Web & Devices" option offered by Adobe PhotoShop.
Erm, inside that option, there something like choose to save to file format to be saved with ( Optimized File Format" on the tooltip ), there are 5 file formats : GIF/PNG8/PNG24/JPG/WBMP, as I did this command "identify -list format", and sure that ImageMagick support all the 5, but, how to convert exactly from someFile.jpg to PNG8 or PNG24 ?? Coz the file format stay still .png.
Thanks for reading.
P.S :
And, in the Color Table, there's a list of colors using in the picture where we can delete/map to transparent/lock...etc, I would like to know if using ImageMagicK I could retreive the colors using in the picture and the RGB information of that color ( just like PhotoShop ? ). Thanks again .
To choose a exact type from the PNG series and color control
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: To choose a exact type from the PNG series and color control
You are not making a lot of sense.
Generally to convert an image you do
or for a specific sub-format
The filename will still be 'png' but internally the data is stored in a different (more restrictive) way.
Generally to convert an image you do
Code: Select all
convert someFile.jpg someFile.png
Code: Select all
convert someFile.jpg PNG8:someFile.png
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/