Previously, converting an image to PostScript by running the convert utility with the "-page" command line option caused the utility to produce an invalid output with a wrong page size. With this update, the page size is counted properly, and the convert utility now produces the expected output.
DescriptionOlivier Fourdan
2010-04-08 13:38:28 UTC
Created attachment 405310[details]
Proposed patch
Description of problem:
The parsing of the "-page" option in "convert" would set a wrong page size and produce a broken output with Postscript.
Version-Release number of selected component (if applicable):
ImageMagick-6.2.8.0-5
How reproducible:
Always
Steps to Reproduce:
1. import /tmp/test.miff
2. convert -rotate 270 -colorspace GRAY -bordercolor white -border 30x30 -page A4 /tmp/test.miff test.ps
3. evince test.ps
Actual results:
Blank page
Expected results:
Capture of "import" successfully converted to Postscript
Additional info:
This issue is fixed in recent ImageMagick, patch attached.
Comment 4RHEL Program Management
2010-08-09 19:08:18 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
Comment 12Jaromir Hradilek
2010-10-08 09:18:25 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previously, converting an image to PostScript by running the convert utility with the "-page" command line option caused the utility to produce an invalid output with a wrong page size. With this update, the page size is counted properly, and the convert utility now produces the expected output.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2012-0301.html
Created attachment 405310 [details] Proposed patch Description of problem: The parsing of the "-page" option in "convert" would set a wrong page size and produce a broken output with Postscript. Version-Release number of selected component (if applicable): ImageMagick-6.2.8.0-5 How reproducible: Always Steps to Reproduce: 1. import /tmp/test.miff 2. convert -rotate 270 -colorspace GRAY -bordercolor white -border 30x30 -page A4 /tmp/test.miff test.ps 3. evince test.ps Actual results: Blank page Expected results: Capture of "import" successfully converted to Postscript Additional info: This issue is fixed in recent ImageMagick, patch attached.