On 26/05/11 03:32, Lu Timdale wrote:
I would like to have different level of quality of images
> based on the perceived value of the image.
so...
For a 4 or 5 star image:
- keep original size jpg + duplicate raw file if it exists
For a 1 to 3 star image:
- keep original jpg only (no raw)
For an unrated:
- resample jpg image (either resize or reencode with higher compression)
Is this a feature that others see value in?
In my opinion (a user trying to hack Shotwell from time to time, not
mainstream developer), there is a usability potential of this
kind of features.
(brainstorming)
However, I think this is a very good candidate to implement as
extension, a plug-in. I'm not sure if the current SPIT allows to extend
managing actions, but perhaps it could.
Then you can have a plug-in that hooks in when a photo is rated:
1. Select 1..N photos
2. Set rating
3. The plug-in post-rating processes photo using
3.1. For a 4 or 5 star image:
3.2. For a 1 to 3 star image:
3.3. ...
In order to make it possible, the SPIT would have to provide events,
lets's say "management events": pre-action, post-action, where action is
rating applied, flag set, tag added, tag removed, etc.
Then plug-in developers could allow various kind of conditions and
actions/processes to be defined and executed.
Sounds complex, but it does not have to be an extensive API.
Just a way to call Plugin::Apply(...) at event.
Per analogia, I imagine something like Pre-Build, Post-Build events
in Visual Studio IDE, where you can place virtually any commands, shell
commands, execute programs, etc. and feed them with a various data
passed as internal or environment variables.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
http://github.com/mloskot/shotwell
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell