ai to jpg - transparent gradient issue
Posted: 2012-05-15T10:01:59-07:00
Hey everyone!
I'm very very new here and I hope that you can help me. I'm trying to convert an Illustrator .ai file to .jpg and everything is good but I have problems with transparent gradients in .ai file. If I have transparent gradient rectangle then the converter skips the alpha channel of it. For example: there's a 200x200px rect. The gradient is a 100% white at the top and it's 0% white at the bottom. If I convert the .ai to .jpg then this whole rectangle is white! If I set the opacity of a simply filled rectangle then it works properly.
Can I convert with transparent gradients?
The code I use:
Thank you!
I'm very very new here and I hope that you can help me. I'm trying to convert an Illustrator .ai file to .jpg and everything is good but I have problems with transparent gradients in .ai file. If I have transparent gradient rectangle then the converter skips the alpha channel of it. For example: there's a 200x200px rect. The gradient is a 100% white at the top and it's 0% white at the bottom. If I convert the .ai to .jpg then this whole rectangle is white! If I set the opacity of a simply filled rectangle then it works properly.
Can I convert with transparent gradients?
The code I use:
Code: Select all
convert -verbose -monitor -colorspace sRGB -density 144 -scale '10000x10000>' a.ai -sampling-factor 2x1 -quality 100 -flatten a.jpg