As you know the watermark module was somewhat broken. I have fixed it
recently, but I'm not really satisfied. For example the offset was not a
percentage of the image width or height. Moreover it the code for this
module is difficult to read and to maintain.

I have then decided to rewrite this module (well the process routine) to
make it cleaner and easier to maintain. I have introduced tree mode for
the scaling/offset (based on image - as done today -, based on larger
border or smaller border).

Of course this introduces new strings so it is not for 1.2. But since it
is changing slightly the layout I'm thinking that maybe part of it
(without the GUI stuff and only keeping the image based scaling) could
be committed now. This will avoid changing again the watermark layout
after 1.2.

Anyway, see branch origin/fix-watermark-layout. Let me know what you think.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to