Page 1 of 1
X11 pixmap
Posted: 2012-04-24T08:07:06-07:00
by x_naren
How to convert image to X11 pixmap using C/C++?
Re: X11 pixmap
Posted: 2012-04-26T20:58:13-07:00
by anthony
Just write the image to a ".xpm" file!
Re: X11 pixmap
Posted: 2012-04-30T05:44:06-07:00
by x_naren
Thanks for the response.
We are doing that right now.
Is there any other way without writing to a file, but directly converting to X11 pixmap?
Thanks.
Re: X11 pixmap
Posted: 2012-04-30T05:46:24-07:00
by magick
ImageMagick generates X11 pixmaps internally for the display program. Grab the source and peruse magick/xwindow.c.