error loading pixmap from HD

Adam Jackson ajax at nwnk.net
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 : http://lists.x.org/archives/xorg-devel/attachments/20091102/fbbb4176/attachment.pgp 


More information about the xorg-devel mailing list