Closed jwilk closed 6 years ago
The filename was meant to indicate that it's a temporary scanhelper file that will be eventually converted to p0316.png
.
But I see that the name might be misleading.
Would p0316.png.tiff.tmp.scanhelper
be okay with you? Or is it too convoluted? :-)
Comment submitted by @jsbien:
This doesn't have now a practical importance for me, but I think a TIFF file should have the extention tiff, I don't care about the rest of the name. Just an idea: tmp.p0316.png.tiff or p0316.png.tmp.scanhelper.tiff.
The good news is that in SANE ≥ 1.0.25, scanimage (which is what scanhelper uses under the hood) supports the PNG format natively. My plan is to drop the use of temporary files completely, and instead require new enough SANE when using the PNG output format.
It's OK with me.
SANE ≥ 1.0.25
To clarify, I meant sane-backends here. (sane-frontends in versioned independently.) This version is available since Debian 9 (stretch, currently stable) and Ubuntu 16.04 (xenial).
My plan is to drop the use of temporary files completely, and instead require new enough SANE when using the PNG output format.
This was implemented in 4d69ee547dee4a64d3b177a225043b1ece6d2021.
Fixed in scanhelper 0.7.
Issue reported by @jsbien:
The disk was full during a scanning session. There seem to be no way to restart processing after freeing the disk space and I was left with TIFF files named e.g p0316.png.tmp.scanhelper.