Bug 488716 - Wishlist: configurable incrementor for file naming
Summary: Wishlist: configurable incrementor for file naming
Status: CONFIRMED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.05.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 08:50 UTC by Sergio
Modified: 2024-06-27 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2024-06-19 08:50:09 UTC
SUMMARY

Skanlite is capable of auto-naming files resulting from scanning multiple pages by adding a numeric suffix to a file-name prefix (e.g. `scan_page-####.png`).

Would be great if the numeric suffix could be updated based on a user-specified increment and a user specified start value rather than using "+1" and the current value only.

Rationale:

1) Most home users can only afford non-duplex automatic document feeders in their scanners. With these you need to first scan the odd pages, then turn around the page-pack and scan the even ones. If you want to have the files corresponding to the pages correctly numbered and you have *n* pieces of paper, corresponding to 2n pages, then you should first do the odd sides using increment +2 and start value m, then the even ones using increment -2 and start value m+2n-1.

2) Most home users can only afford cheap automatic document feeders that often pick up two pages at once. When you realize it and you scan again the missing page, you would like the corresponding file to be sorted correctly with the others. In order to be able to do so, you need to do the initial scan with an increment that "leaves space" to insert missing pages (e.g., +10).

The venerable "xsane" supports these usage cases, but being basically unmaintained it feels more and more out of place in a modern desktop. Having skanlite on feature parity with it is important to provide a full replacement.
Comment 1 TraceyC 2024-06-27 16:18:15 UTC
This seems like the logic would be fairly easy to implement