How to convert .ai to transparent 24bit .png?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Chandresh

How to convert .ai to transparent 24bit .png?

Post by Chandresh »

Hello all,

I have so many adobe illustrator .ai files for my application icons. I need to generate 24 bit png with alpha transparency.

I have tried the following command but not get sufficient output.
Convert -colors 256 -type TrueColorMatte -alpha on -contrast -density 1024 -resize 16x16 home.ai home.png

Please let me know how to generate 24 bit transparent png image from ImageMagick tool.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to convert .ai to transparent 24bit .png?

Post by fmw42 »

the convert syntax usually has the input image before any of the options. have you tried

convert inputimage ... options .... outputimage


Unfortunately, I do not know anything about .ai files. You could post a link to one and perhaps we can test with it.
Chandresh

Re: How to convert .ai to transparent 24bit .png?

Post by Chandresh »

This is link where you can find the .ai file (Adobe illustrator 10).

button.ai

You just click on Download button to download the file.
Post Reply