X11 bitmap image conversion problem

C

Craig

Hi there,

This could be a curly question. When I created the x11 bitmap image
using the im.tobitmap() function I found out later that the display
information in the array is big endian (I think) but I want little
endian. Basically if an image byte in the X11 format is 00111101
(0x3D), I want 10111100(0xBC). Is there an easy way to flip the bits
after the im.tobitmap() conversion has been done or do I have to find
another way? If you could help that would be greatly appreciated.
Thanks and good luck.


Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top