[sane-devel] Patch to scanimage.c for 16-bit PNM files (was: Epson 2450: scanimage produces invalid PNM files)

Roland Roberts roland@astrofoto.org
15 Apr 2002 17:22:55 -0400


>>>>> "Henning" == Henning Meier-Geinitz <henning@meier-geinitz.de> writes:

    Henning> Thanks for the patch. It fixes some cases. However, you
    Henning> will get problems if the amount of data is odd or
    Henning> must_buffer == SANE_TRUE.

I thought I had code in there for must_buffer, but you are definitelya
correct about the odd amount of data issue.  I wouldn't think the
latter case could happen with a local scanner, but with a network
scanner I can see it happening.a

    Henning> I will put it on the TODO list.

Thanks,

roland
-- 
		       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
roland@astrofoto.org                       Forest Hills, NY 11375