Transparency lost in PDF to PNG
Posted: 2009-04-13T15:56:44-07:00
I'm reading a PDF file (adobe illustrator) and trying to save it as png
$img->read('logo.ai');
$img->write('logo.png');
The probleme is that I'm loosing all the transparency and semi-transparency
using instead:
$img->read('logo.ai');
$img->Transparent('color' => 'white');
$img->write('logo.png');
doesn't resolve the problem for the semi-transparency.
What are the correct PerlMagick (ver: 6.5.1.1) settings to use?
Sincerly
$img->read('logo.ai');
$img->write('logo.png');
The probleme is that I'm loosing all the transparency and semi-transparency
using instead:
$img->read('logo.ai');
$img->Transparent('color' => 'white');
$img->write('logo.png');
doesn't resolve the problem for the semi-transparency.
What are the correct PerlMagick (ver: 6.5.1.1) settings to use?
Sincerly