notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
non port: graphics/xv/files/patch-xvxwd.c

Number of commits found: 2

Sun, 17 May 2009
[ 13:20 dinoex search for other commits by this committer ] Original commit  (Only the first 10 of 19 ports in this commit are shown above. View all ports for this commit)
- use jumbo patches
- support jasper
- many bugfixes
Fri, 14 Jul 2006
[ 15:31 ehaupt search for other commits by this committer ] Original commit 
With 24/32-bit xwd files, xv swaps the red and blue channels.  With 16-bit xwd
files, the image is very dark green (almost black).

Both problems are caused by hard-coding the channel order and offsets, rather
than using the colour masks in the xwd header.

xv reads the input into a 24-bit internal image, which is then displayed.  The
lack of brightness in the 16-bit display is because the colour values are copied
into the low-order bits of the internal pixmap rather than the high order bits.
The green hue is because the green channel has 6 bits, whereas red and blue only
have 5 bits, making the green twice as (relatively) bright.

The new patch solves that problem.

PR:             96971
Submitted by:   Peter Jeremy <>
Approved by:    Miguel Mendez <> (maintainer)

Number of commits found: 2