Colour not working on pdf conversion
Posted: 2009-07-01T03:03:21-07:00
I'm trying to convert a pdf, by ghostscript, to a png (via php), using the code
The pdf is converting but it is about half it's original size, so the text is blurry, and the image comes out as black and white instead of colour.
Any idea why this might be?
Thanks
Code: Select all
exec("convert \"{$pdf}[0]\" -colorspace rgb \"output.png\"");
Any idea why this might be?
Thanks