Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 580535 - Using "-page" option in ImageMagick's "convert" set bogus page size in PostScript
Using "-page" option in ImageMagick's "convert" set bogus page size in PostSc...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ImageMagick (Show other bugs)
5.4
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Olivier Fourdan
Desktop QE
: Patch, ZStream
Depends On:
Blocks: 640587
  Show dependency treegraph
 
Reported: 2010-04-08 09:38 EDT by Olivier Fourdan
Modified: 2018-10-27 09:15 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-20 22:09:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1.88 KB, patch)
2010-04-08 09:38 EDT, Olivier Fourdan
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0301 normal SHIPPED_LIVE Low: ImageMagick security and bug fix update 2012-02-21 02:24:31 EST

  None (edit)
Description Olivier Fourdan 2010-04-08 09:38:28 EDT
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 4 RHEL Product and Program Management 2010-08-09 15:08:18 EDT
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 12 Jaromir Hradilek 2010-10-08 05:18:25 EDT
    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.
Comment 19 errata-xmlrpc 2012-02-20 22:09:06 EST
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

Note You need to log in before you can comment on or make changes to this bug.