poor quality annotate pdf
Posted: 2010-02-25T13:57:54-07:00
Hi. I'm trying to create a script to add some text at the bottom of PDF documents for printing. It appeared that ImageMagick would work great for that. It does what I need except for the fact that the PDF quality/resolution is very poor after annotating.
I'm using ImageMagick 6.5.9-10 on SLES10sp2 with gs 8.15.3
command and verbose output:
convert -verbose imagemagick.pdf -gravity SouthWest -annotate +10+10 "$(date +%D) Test User Status:Released" result.pdf
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=/tmp/magick-XXBGdKJt" "-f/tmp/magick-XXs1cYgp" "-f/tmp/magick-XXsK2cSk"
/tmp/magick-XXBGdKJt[0] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.040u 0:00.030
/tmp/magick-XXBGdKJt[1] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.020u 0:00.019
/tmp/magick-XXBGdKJt[2] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.020u 0:00.010
imagemagick.pdf[0] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.000
imagemagick.pdf[1] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.010
imagemagick.pdf[2] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.010
imagemagick.pdf=>result.pdf[0] PDF 612x792 612x792+0+0 16-bit DirectClass 549KB 0.210u 0:05.160
Am I correct in seeing that the -r72x72 could be causing this issue? if so, what do I do to change that? or what else can I try to fix it?
I'm using ImageMagick 6.5.9-10 on SLES10sp2 with gs 8.15.3
command and verbose output:
convert -verbose imagemagick.pdf -gravity SouthWest -annotate +10+10 "$(date +%D) Test User Status:Released" result.pdf
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=/tmp/magick-XXBGdKJt" "-f/tmp/magick-XXs1cYgp" "-f/tmp/magick-XXsK2cSk"
/tmp/magick-XXBGdKJt[0] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.040u 0:00.030
/tmp/magick-XXBGdKJt[1] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.020u 0:00.019
/tmp/magick-XXBGdKJt[2] PNM 612x792 612x792+0+0 8-bit DirectClass 4.363MB 0.020u 0:00.010
imagemagick.pdf[0] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.000
imagemagick.pdf[1] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.010
imagemagick.pdf[2] PDF 612x792 612x792+0+0 16-bit DirectClass 4.363MB 0.000u 0:00.010
imagemagick.pdf=>result.pdf[0] PDF 612x792 612x792+0+0 16-bit DirectClass 549KB 0.210u 0:05.160
Am I correct in seeing that the -r72x72 could be causing this issue? if so, what do I do to change that? or what else can I try to fix it?