Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 822102] ImageMagick: /usr/bin/convert .eps file into PDF changes bounding box which results off-center printing

Johannes Meixner <jsmeix@xxxxxxxx> changed:

What |Removed |Added
Component|Printing |Other
Resolution| |INVALID
QAContact|jsmeix@xxxxxxxx |qa-bugs@xxxxxxx

--- Comment #9 from Johannes Meixner <jsmeix@xxxxxxxx> 2013-06-07 09:02:45 CEST
If you like to get some feedback from 'convert'
what it does, use the -verbose option, e.g. for me:
$ convert -verbose cv_range.eps -page letter+35+75 cv_range.convert-page.pdf

"gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000
-dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4
-dGraphicsAlphaBits=4 "-r72x72" -g518x632
"-sOutputFile=/tmp/magick--RZb0vzu-%08d" "-f/tmp/magick-wwWGDsWA"

/tmp/magick--RZb0vzu-00000001 PNG 518x632 518x632+0+0
8-bit DirectClass 22.6KB 0.030u 0:00.020

PS 518x632 518x632+0+0 16-bit DirectClass 22.6KB 0.000u 0:00.000

PS 518x632 612x792+35+75 16-bit DirectClass 94.2KB 0.050u 0:00.059

This shows (you could also use "strace -f" to get the "gs" call)
that 'convert' calls internally Ghostscript to convert the EPS
into a bitmap image (via the Ghostscript device pngalpha).
Afterwards 'convert' encapsulates the bitmap image into a PDF.

I agree that from an end-user point of view "It would be very nice
if the different conversion methods could give the same results
all the way through the display and printing stages in
different computers" but the present situation is that
there is neither such a thing as a general guideline or specification
nor is there a general agreement which same result all those different
conversion methods should give.

As matters stand the different conversion tools are made by
different open source software projects with different
use-cases in mind where each has its own reasoning behind
what each particular default behaviour is.

I am not involved in the ImageMagick open source software project
so that I cannot decide about the 'convert' default behaviour.

According to
"ImageMagick is a software suite to create, edit, compose,
or convert bitmap images."

That means the primary focus are bitmaps (and not vector graphics
like PostScript usually has) and I assume that for bitmaps
the 'convert' default behaviour is best.

In contrast the main focus of Ghostscript is PostScript and PDF
in particular regarding printing output so that the 'ps2pdf'
default behaviour fits better for printing output.

Bottom line from my point of view:

Regardless that 'convert' works to convert PS/EPS into PDF
it is not the best tool for it because it is meant to work
with bitmap images.

In contrast 'ps2pdf' is primarily meant to convert PS/EPS into PDF.

I close the issue again as "invalid" because there is no actual bug.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >