← Back to team overview

phatch-dev team mailing list archive

multiple saves and tags

 

Hi All,
Nadia raised a good point about multiple saves and tags:
https://bugs.launchpad.net/phatch/+bug/381091

I'd like to hear your opinions. This was mine:
Actually this is a design decision what to do with variables (such as
width, height, folder, type, ...) during multiple saves. I've been
thinking already about this during Phatch 0.1

I thought of three strategies:

1) keep old, prefix new
- keep the variables of the original source file with the original names
- add the variables with the prefix "new." to the newly saved files

2) prefix old, keep new
- store the variables of the original source file with the prefix
"source.", "base." or "old."
- keep the variables of the original source file with the original names

3) index variables with suffix
- original variables gets suffix ".0"
- second saved file gets suffix ".1"
(of course variables without suffix are still valid and than we should
decide if it is the latest or the first file)

Maybe my preference is 3, but I am curious to hear your opinions.

What do you expect when in one action list you save 3 times with
different sizes in percentages (like for icons)? I think it needs to
be of the last save otherwise features like text offset with % will be
broken.

Best regards,
Stani

-- 
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be



Follow ups