Page 1 of 1

composite pdf files make low res file . . fix?

Posted: 2008-05-12T16:09:45-07:00
by jackieO
I am using the below command and it works great! The only issue is the pdf that it produces looks REALLY low quality and the two inputs are high quality . . . i have changed the output to jpg and png, but the output is still pixelated. . . .

Code: Select all

composite -compose atop -gravity center /tmp/aj/main.pdf  /tmp/aj/template.pdf  /tmp/aj/newFile.pdf
what can I do to fix the bad quality (pixelated) output?

Re: composite pdf files make low res file . . fix?

Posted: 2008-05-13T05:29:03-07:00
by Bonzo
What happens if you add a -density?

Code: Select all

composite -density 400 -compose atop -gravity center /tmp/aj/main.pdf  /tmp/aj/template.pdf  /tmp/aj/newFile.pdf

Re: composite pdf files make low res file . . fix?

Posted: 2008-07-28T09:49:58-07:00
by jackieO
it works great, but makes a huge file (size).

My command is as follows:

Code: Select all

composite -colorspace RGB -density 175x175 -compose atop -gravity center /tmp/main.pdf /tmp/face.pdf /newFile.pdf
main.pdf (264kb) + face.pdf (168kb) = newFile (5.1mb)

something seems wrong and I can't get the resulting file to a decent size unless I take the -density off and I get a very poor looking file. Anyone have any tips or tricks?

Re: composite pdf files make low res file . . fix?

Posted: 2008-07-28T13:54:24-07:00
by fmw42
IM pdf processing is not the most efficient by way of filesize

Post an example for us to try.

Re: composite pdf files make low res file . . fix?

Posted: 2008-07-28T18:36:58-07:00
by jackieO
main.pdf = 268kb
face.pdf = 183kb

these files make a 3.5mb file. . . :?

i am open to any ideas. . .

Re: composite pdf files make low res file . . fix?

Posted: 2008-07-28T20:50:37-07:00
by anthony
PDF to PDF.... Didn't you read the 'Read this first' note?

See... A Word about Vector Formats...
http://www.imagemagick.org/Usage/formats/#vector