phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00993
[Bug 497594] Re: performance: check for existing files *before* doing the processing on a picture
How about keeping a session file in the target directory which contains
metadata: timestamp, sufficient information to resume a session that
ended.
if a session file exists in the target directory:
if the session metadata matches the current batch specification (actions, parameters, etc):
resume the batch
else:
ask the user what to do, and do it
else:
write a session file in the target directory,
do the batch
delete the session file (after finishing a batch)
--
performance: check for existing files *before* doing the processing on a picture
https://bugs.launchpad.net/bugs/497594
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.
Status in Phatch = Photo & Batch!: Confirmed
Status in “phatch” package in Ubuntu: Confirmed
Bug description:
Binary package hint: phatch
Currently, if you uncheck the "Overwrite existing images" option, phatch still processes the image before trying to check if it should be saved or not.
I know this is not easy to fix, but ideally, when I have a thousand images to process and launch the batch job multiple times, it should just continue where it left off, without reprocessing images that already have an existing output file.