Imagemagick convert AI file that has a transparent layer for PNG

I am not familiar with the ai file. I have an AI file with a transparent layer or alpha layer, and I'm trying to convert this file to png using imagemagick:

convert -resize '1000x' -density 300 test.ai test.png

ai file url: pan.baidu.com/s/1eQ9nS4a

I converted an image whose transparency level was lost:

url: assets.baicizhan.com/test_data/test_wrong.jpg

but the correct image should look like this:

url: assets.baicizhan.com/test_data/test_right.jpg

So what is the magic parameter that I should use here?

+3
source share
1 answer

.
?
:

convert ai:test.ai -resize '1000x' -density 300 test.png

, , - ImageMagick 6.3.7-9.
.

+3

All Articles