[sane-devel] Problems with AutoStep.
Tue, 2 Apr 2002 18:13:07 +0200
On Tue, Apr 02, 2002 at 05:53:25AM +0000, Michael Chapman wrote:
> I was scanning in a series of images and giving each one a filename 'by hand'.
> The filenames were purely numeric, and all ten digits. (Yep, I was scanning
> bookcovers and filing them by ISBNs!)
I'm referring to XSane version 0.84.
> Problem 1:
> File names beginning with 0 are truncated to nine digits.
> Setting STEP to "0" does not cure this.
If I set preferences->filename counter length to 10 (or inactive),
nothing is truncated. If I set step to 0, the counter isn't
> Problem 2:
> I started out leaving STEP at 1 (I was afterall re-entering a new file name
> for each scan, so was not worried about what xSane thought the next one
> should be.)
> I then had an underrun error message for the step counter.
> That did not worry me, but subsequently everytime I entered a new file name
> xSane erased it and replaced it by 2147483647.png (that is [2^31 - 1].png, I
> Setting STEP to 0 would not deter it.
> (Rather than restrating xSane, I changed file naming strategy to
I only get the underrun error when I use a filename of 0000000000.png and
a step of -1. But the filename just stays the same. If I enter a
random new name, no underrun occurs.
I have no idea why I can't reproduce your problem. Did you also use