Date: Thu, 17 Feb 2000 19:52:19 -0800 (PST) From: sigehiro@ee.oit.ac.jp To: freebsd-gnats-submit@FreeBSD.org Subject: ports/16800: xwdtopnm can not work well on my 16bits/pixel display. Message-ID: <200002180352.TAA88987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 16800 >Category: ports >Synopsis: xwdtopnm can not work well on my 16bits/pixel display. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 20:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Yuji Shigehiro >Release: FreeBSD 3.3-RELEASE >Organization: Osaka Institute of Technology, Japan >Environment: FreeBSD kaken98.ee.oit.ac.jp 3.3-RELEASE FreeBSD 3.3-RELEASE #3: Thu Jan 6 16:47:54 JST 2000 sigehiro@kaken98.ee.oit.ac.jp:/usr/src/sys/compile/PRO-400L i386 >Description: The following command % xwd | xwdtopnm > foo.ppm generates an illegal PPM file on my machine with 16 bits/pixel display (XF86_Mach64.xtt). >How-To-Repeat: On the X Window System (XF86_Mach64.xtt) with 16 bits/pixel display, execute following command % xwd | xwdtopnm > foo.ppm and display the image `foo.ppm'. >Fix: In `/usr/ports/graphics/netpbm/work/netpbm/pnm/xwdtopnm.c', 16 bits/pixel data format is (maybe) considered to be `0BBBBBGGGGGRRRRR' (see lines 94--114 of xwdtopnm.c). However, the format is (maybe) `RRRRRGGGGGGBBBBB' on my computer, and there may exist other formats on other computers. Please modify the source code correctly ? (on the basis of variables `{red,green,blue}_mask' in the source code.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002180352.TAA88987>