[sane-devel] genesys endianess

Jon Chambers jon at jon.demon.co.uk
Wed Mar 8 09:07:35 UTC 2006

Hi Pierre,

On Tue, 7 Mar 2006, Pierre Willenbrock wrote:
> [...] I am planning to add a function that swaps the
> bytes in place if needed which should be called on the pixel data.

You may find the byte ordering calls built into the socket library (htons, 
htonl, etc) useful.


====================== Jon Chambers =====================
  http://www.jon.demon.co.uk, 020 8575 7097, 07969 956575

More information about the sane-devel mailing list