Convert adds white margins
Posted: 2013-01-09T04:25:05-07:00
Hi!
I've googling around like crazy and I haven't been able to find a solution to my problem. I'm using ImageMagicks convert to create png images from a pdf file. The problem is that on every pdf I try it adds white margins on the created images and I can't find how to get rid of them
I'm using ImageMagick 6.6.0-4 on a Debian 6.0 server. The command I execute is this:
convert "PDF_FILE" -colorspace RGB -resize 490x694\! -density 300 -quality 100 "PNG_FILE"
I've tried it with and without the resize, with crop, with no parameters at all...
Here is a PDF file I've tried and the resulting PNG file:
The PDF: https://dl.dropbox.com/u/4279061/epeich.pdf
A PNG image, the first page of the PDF file: https://dl.dropbox.com/u/4279061/340.png
I guess it's something simple... but as a newbie... I can't find the solution. Thanks for the help!
I've googling around like crazy and I haven't been able to find a solution to my problem. I'm using ImageMagicks convert to create png images from a pdf file. The problem is that on every pdf I try it adds white margins on the created images and I can't find how to get rid of them
I'm using ImageMagick 6.6.0-4 on a Debian 6.0 server. The command I execute is this:
convert "PDF_FILE" -colorspace RGB -resize 490x694\! -density 300 -quality 100 "PNG_FILE"
I've tried it with and without the resize, with crop, with no parameters at all...
Here is a PDF file I've tried and the resulting PNG file:
The PDF: https://dl.dropbox.com/u/4279061/epeich.pdf
A PNG image, the first page of the PDF file: https://dl.dropbox.com/u/4279061/340.png
I guess it's something simple... but as a newbie... I can't find the solution. Thanks for the help!