Issues with unsharp
Posted: 2012-06-14T12:51:35-07:00
Hi, I'm new here so please go easy on me.
The company I work for uses ImageMagick to convert PDF files to JPG in their application. It is executed on the command line from a PHP script and is run on Linux.
The command we use is:
convert -density 200 -quality 100 <filename>.pdf -unsharpen 0x3.2 -quality 100 <filename>.jpg
convert -version reports:
$ convert -version
Version: ImageMagick 6.5.4-7 2012-05-07 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
The result I get is a blank image (completely white). The PDF file that is the source is a scan of a scan of a scan of a sheet of paper with text on it, so the quality isnt great to begin with. If I try a different PDF file, it works as expected, but this one gives a blank file every time. The server I'm testing this on is running CentOS6.
I dont know if more information is needed, please let me know if I need to provide more.
The company I work for uses ImageMagick to convert PDF files to JPG in their application. It is executed on the command line from a PHP script and is run on Linux.
The command we use is:
convert -density 200 -quality 100 <filename>.pdf -unsharpen 0x3.2 -quality 100 <filename>.jpg
convert -version reports:
$ convert -version
Version: ImageMagick 6.5.4-7 2012-05-07 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
The result I get is a blank image (completely white). The PDF file that is the source is a scan of a scan of a scan of a sheet of paper with text on it, so the quality isnt great to begin with. If I try a different PDF file, it works as expected, but this one gives a blank file every time. The server I'm testing this on is running CentOS6.
I dont know if more information is needed, please let me know if I need to provide more.