Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 574362 - xwdtopnm generates incorrect ppm output for xwd dump of an rdesktop screen
xwdtopnm generates incorrect ppm output for xwd dump of an rdesktop screen
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: netpbm (Show other bugs)
5.4
All Linux
high Severity high
: rc
: ---
Assigned To: Jindrich Novy
Petr Šplíchal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-17 07:08 EDT by ritz
Modified: 2018-10-27 09:58 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 01:48:12 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)
patch based on upstream (10.58 KB, patch)
2010-03-17 07:08 EDT, ritz
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0287 normal SHIPPED_LIVE netpbm bug fix update 2012-02-20 10:05:46 EST

  None (edit)
Description ritz 2010-03-17 07:08:33 EDT
Created attachment 400717 [details]
patch based on upstream

Description of problem:
xwdtopnm produces incorrect ppm output for xwd dump of an rdesktop screen

Version-Release number of selected component (if applicable):
netpbm-10.35.58.x

How reproducible:
always

Steps to Reproduce:
1. Connect to a Windows XP system using rdesktop:
rdesktop 192.168.1.100
2.Get an xwd dump of the rdesktop screen by running the following command and selecting the rdesktop screen with the mouse:
xwd -screen -frame > out.xwd
3. Convert the xwd dump to ppm format using xwdtopnm
xwdtopnm out.xwd > out.ppm
4. View both images:
display out.xwd
display out.ppm
  
Actual results:
out.ppm has incorrect colors

Expected results:
out.ppm show show the correct image

Additional info:

    * xwd, when run on the rdesktop window, generates a DirectColor image with 24bpp depth and BGR layout and MSB bit order.
    * The header on the xwd image however claims that the image has an RGB layout and LSB bit order., which leads the image colors to be read incorrectly by xwdtopnm
    * ImageMagick and Gimp read the image correctly, hence this is a bug in xwd which has been fixed upstream in netpbm 10.35.64 , thanks to Siddhesh for tracking this down, along with the patch
Comment 2 RHEL Product and Program Management 2010-08-09 15:52:42 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 3 RHEL Product and Program Management 2011-05-31 11:44:41 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 7 errata-xmlrpc 2012-02-21 01:48:12 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/RHBA-2012-0287.html

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