[sane-devel] bug repport + workaround sane-canon: Endian inverted data when scanning 48bbp raw mode pnm

Henning Meier-Geinitz henning at meier-geinitz.de
Tue Dec 27 13:32:54 UTC 2005


Hi,

On Sun, Dec 25, 2005 at 06:33:33PM +0100, Jean-Michel Vourgère wrote:
> Using imagemagick on the raw data give images with noise. Switching
> bytes before using imagemagick' convert works ok.
> 
> The noise also appears in preview window when mode is raw, so the bug
> is probably in sane and not imagemagick.

Maybe the author of the backend uses a big endian machine :-)

To make sure that it's not a problem with imagemagic you can check if
the test images are ok:

 scanimage -d test --resolution 250 --mode Color --depth 16 --test-picture "Color Pattern" >image.pnm

and compare the image with this page (last image)

http://www.meier-geinitz.de/sane/test-backend/test-pictures.html

Bye,
  Henning



More information about the sane-devel mailing list