X11 pixmap

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
Locked
x_naren
Posts: 2
Joined: 2012-04-24T06:05:28-07:00
Authentication code: 13

X11 pixmap

Post by x_naren »

How to convert image to X11 pixmap using C/C++?

User avatar
anthony
Posts: 8884
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: X11 pixmap

Post by anthony »

Just write the image to a ".xpm" file!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

x_naren
Posts: 2
Joined: 2012-04-24T06:05:28-07:00
Authentication code: 13

Re: X11 pixmap

Post 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.

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: X11 pixmap

Post by magick »

ImageMagick generates X11 pixmaps internally for the display program. Grab the source and peruse magick/xwindow.c.

Locked