** Tags added: xenial

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to netpbm-free in Ubuntu.
https://bugs.launchpad.net/bugs/1379480

Title:
  xwdtopnm generates bad pnm files

Status in netpbm-free package in Ubuntu:
  Confirmed

Bug description:
  I'm trying to capture the screen to a png file, with the following
  command:

  xwd -root -display :0 | xwdtopnm | pnmtopng > file.png

  The output file is a valid png file, but it's a garbled picture.

  By doing the following diagnostic steps, xwdtopnm was determined to be
  the problem:

  xwd -root -display :0 > test.xwd ; gimp test.xwd   ===> picture looks good
  xwdtopnm < test.xwd > test.pnm  ; gimp test.pnm ===> gimp reports "PNM Image 
Message: Unsupported maximum value."
  pnmtopng < test.pnm > test.png ; gimp test.png ===> gimp loads a garbled 
picture

  file test.xwd  ===> file.xwd: XWD X Window Dump image data, "xwdump",
  3840x1080x24

  pnmtoxwd < test.pnm > test2.xwd ; gimp test2.xwd  ===> gimp loads a
  garbled picture

  Hopefully you can fix the glitch in xwdtopnm easily!

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: netpbm 2:10.0-15
  ProcVersionSignature: Ubuntu 3.8.0-44.66~precise1-generic 3.8.13.25
  Uname: Linux 3.8.0-44-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.7
  Architecture: amd64
  Date: Thu Oct  9 11:51:37 2014
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   SHELL=/bin/bash
  SourcePackage: netpbm-free
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netpbm-free/+bug/1379480/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to