Page 1 of 1

converting to a true a4 ps-page (not eps)

Posted: 2008-03-14T04:00:03-07:00
by bablokb
Hi,

I would like to create an A4 PS-page (and place the image at a specified location). Using convert in a naive way:

Code: Select all

convert img.jpg -density 300 img.ps
does not work, since this produces an eps (using -page a4 just changes the image-size). Is there a solution to the problem?

Thanks, Bernhard

Re: converting to a true a4 ps-page (not eps)

Posted: 2008-03-15T05:09:20-07:00
by anthony
EPS is Postscript!!!! It is a special form of postscript known as Encapulated postscript that is. A single page. Has a bounding box defining the limits of the object drawn. and optionally a preview image.

EPS can be thought of as basically a single page postscript, and as such IM was correct in generating a eps, and you requested a ps image as eps is a ps image.

In regard to the quality of the image. Yes you are right, it is bad. I have never relied on IM postscript generator because of quality. But then I never reported it either in all my studys for IM Examples. Prehaps it is time to report the quality issue in the Bugs forum.

Remember generating eps is NOT a bug. Poor quality however is a bug

Re: converting to a true a4 ps-page (not eps)

Posted: 2008-03-15T08:19:59-07:00
by bablokb
Yes, I know EPS is postscript and I also know the bounding-box stuff and I also know that my "naive" command produces EPS. But that was not my point (neither was the quality-stuff). My point is: how can I create a true A4 PS-page with an embedded image (say. e.g. centered, size calculated from image-size and density). It means I have something like:

%%DocumentMedia: a4 595 842 0 () ()

inside the document (so the printer knows it's A4).

BTW: cups does know how to do that but I would like to do it without actually "printing", just from within IM.

Bernhard