Menu ▾ ▴

#3 Little Endian pixelFormat

open
nobody
None
5
2010-02-10
2010-02-10
No

I am using the client to connect to an ESX server. The server pixelFormat returned:
32 bpp
24 bit color depth
True Color
Big Endian: false

It appears the RFBPixelFormat32bpp class defines BigEndian as true by default. When the server sends its pixeldata message to the client, bigEndian is set to false. The client simply responds with BigEndian set to true. There is no support in the Pixel Format classes for managing little endian pixel data returned from the server, the flag is essentially ignored (so far as I can tell). It creates some interesting color schemes though.

Discussion