[sane-devel] Epson 1650 out of memory
Karl Heinz Kremer
khk at khk.net
Tue Oct 1 01:21:57 BST 2002
It's of course not a limitation of the SCSI buffer, this is a USB
scanner (note to myself: Next time think before replying ...) There
are limits in the scanner, it can only handle a certain scan size:
The higher the resolution, the smaller the scan can be. This does
not have anything to do with the total image size, it's the size of
one scan line that's the problem (or, maybe the hight of the scan,
there is another limitation, again based on the resolution).
But again: Even though the scanner can do 1600 dpi, this does not
mean that the max. resolution is useful for regular scans. These
resolutions only make sense for slides or transparencies.
The error message may not be the best, but it does have to do with
memory limitations.
Karl Heinz
On Mon, Sep 30, 2002 at 11:36:03PM +0200, Henning Meier-Geinitz wrote:
> Hi,
>
> On Mon, Sep 30, 2002 at 10:32:27PM +0200, Henk Abma wrote:
> > I run a machine with 512mb of ram and gentoo linux, with its default
> > compilation of sane. When I try to scan like this:
> >
> > scanimage --resolution 1600 --mode color -x 180 -y 100 |cjpeg --quality=85 >picture.jpg
> >
> > I get an 'out of memory' error, with no indication who goes out of
> > memory. I run the computer without X, so I should have more than
> > enough ram available.
>
> The image size is 204 MB if I didn't make a mistake. However, it
> doesn't look like as if any of the programs buffers the whole image.
> When I try that with the test backend, I don't have any problems and
> the meomory usage is low. Maybe you can try the test backend also
> (-d test) to find out if it's a problem with the epson backend.
>
> I tried:
>
> scanimage -d test --resolution 1600 --mode color -x 400 -y 400 |cjpeg
> -quality 85 >picture.jpg
>
> --quality=85 doesn't seem to be recognised by my version so maybe we
> have different versions:
>
> Independent JPEG Group's CJPEG, version 6b 27-Mar-1998
> Copyright (C) 1998, Thomas G. Lane
>
> Ok, pretty old :-)
>
> Bye,
> Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
--
Karl Heinz Kremer khk at khk.net
PGP Key at http://www.khk.net/download/khk.asc
EPSON Sane Backend: http://www.khk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020930/33b877be/attachment.sig>
More information about the sane-devel
mailing list