error loading pixmap from HD

Adam Jackson ajax at
Mon Nov 2 09:12:43 PST 2009

On Sun, 2009-11-01 at 23:26 +0200, Sotirios Karavarsamis wrote:

> I am constantly getting a "bitmap invalid file" error (case #2 in the
> above switch control). In the snippet above, the constant
> BMP_TILE_BLOCKS is a string representing the path to a PBM/XPM/BMP
> file on disk. However, neither image format works. How should I
> correctly load the image file from disk? Or I am I scrueing something
> in the snippet itself? Also, which image formats work correctly with
> this particular function?

You could always just install the debuginfo for libX11 and single-step
through XReadBitmapFileData to see where it's failing.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : 

More information about the xorg-devel mailing list