[vox-tech] reading bitmaps in XLib
Mitch Patenaude
vox-tech@lists.lugod.org
Thu, 16 Oct 2003 22:49:53 -0700
The function XReadBitmapFile() almost certainly reads X bitmap files
(.xbm).. which are different than Windows bitmap files (.bmp). I don't
know precisely how to read windows bitmaps, but I think that the GD
image library is a good place to start looking.
-- Mitch
On Thursday, Oct 16, 2003, at 22:21 US/Pacific, Julie Russell wrote:
> Hi Everyone,
>
> I am trying to display a bitmap(.bmp) on the screen using xlib. I am
> using
> XReadBitmapFile to load the bitmap but it is giving me a
> BitmapFileInvalid
> on return. The bitmap seems not to be corrupted and I have tried other
> bitmaps however I get the same problem. I am clueless as to why this
> is. Any
> help would be greatly appreciated.
>
> Regards,
> Julie.
>
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>