PDF to PNG with transparency

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?".
emptyofwhat

Re: PDF to PNG with transparency

Post by emptyofwhat »

I just sent you the files!


Thanks! :D :D :D :D :D
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PDF to PNG with transparency

Post by fmw42 »

No luck outside Pixelmator. Sending you back direct email.
FabriceGal
Posts: 1
Joined: 2011-01-07T01:57:51-07:00
Authentication code: 8675308

Re: PDF to PNG with transparency

Post by FabriceGal »

Hello!
I've many problem to convert PDF in PNG transparency when PDF was in landscape mode or pdf file with semi transparency item.
(I think that it was a problem with the call of pngalpha printer by ImageMagick himself)

Solved by the use of GS before ImageMagick :
exec("gs -sDEVICE=pngalpha -sOutputFile=$jpg_saved -r72 $pdf");
exec("convert $jpg_saved_file -colorspace RGB $jpg_saved");

May the force with you.
Post Reply