Bug 580535 - Using "-page" option in ImageMagick's "convert" set bogus page size in PostScript
Summary: Using "-page" option in ImageMagick's "convert" set bogus page size in PostSc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ImageMagick
Version: 5.4
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Olivier Fourdan
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 640587
TreeView+ depends on / blocked
 
Reported: 2010-04-08 13:38 UTC by Olivier Fourdan
Modified: 2018-11-14 20:11 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-02-21 03:09:06 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0301 0 normal SHIPPED_LIVE Low: ImageMagick security and bug fix update 2012-02-21 07:24:31 UTC

Description Olivier 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 4 RHEL 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 12 Jaromir 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.

Comment 19 errata-xmlrpc 2012-02-21 03:09:06 UTC
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.