pdf2png
Posted: 2009-10-09T02:31:29-07:00
i got a trouble when i converted pdf to png. if the pdf have transparency layer, the generating png is very bad, and the transparency area show black box. can anybody tell me how to resolve it.
php codes i used as following:
1.exec('convert input.pdf out.png');
2.exec('convert -resample 72 -thumbnail 300 input.pdf out.png);
php codes i used as following:
1.exec('convert input.pdf out.png');
2.exec('convert -resample 72 -thumbnail 300 input.pdf out.png);