← Back to team overview

phatch-dev team mailing list archive

variable border action

 

Hi Erich,

Your variable border plugin will replace the current border plugin.
The difference is that users can specify custom border sizes for any
side if they wish.
https://blueprints.launchpad.net/phatch/+spec/different-border-size-for-each-side

The user who requested this feature put a screenshot on the full specification:
https://wiki.ubuntu.com/kedesfase/different-border-size-for-each-side

Positive values will draw a border outwards as you implemented in
(transparency does not have effect here):
http://bazaar.launchpad.net/~sophacles-gmail/phatch/border-size_blueprint/annotate/head:/phatch/actions/varborder.py

Nadia, could you have a look at the palette/transparency part of the
code? Just a second check.

So border(5px, red) = varborder(all=5,red)

But what I would like and what is simple but very powerful, is that
negative values draw a border inwards and here transparency matters.
I've attached a screenshot of an example where:
- only bottom border has a value: -50px
- colour specified is black (0,0,0)
- opacity is 50%

As transparency is an issue here, I would first do the top and bottom
inward borders (=boxes) and then left and right, so you avoid overlap,
which would be half less transparent.

The cool thing is that with the text and watermark option this can
create nice text overlays.

Sorry, if I was not clear from the start.

Thanks for working on this plugin, many users will like it.

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

Attachment: 2427511548_90551dac31_o_negative.png
Description: PNG image


Follow ups