Bug 580535

Summary: Using "-page" option in ImageMagick's "convert" set bogus page size in PostScript
Product: Red Hat Enterprise Linux 5 Reporter: Olivier Fourdan <ofourdan>
Component: ImageMagickAssignee: Olivier Fourdan <ofourdan>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: cmeadors, cward, jwest, kem, plyons, tao, tpelka
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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-21 03:09:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 640587    
Attachments:
Description Flags
Proposed patch none

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