Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Downsize watermark referring to the shortest side of the picture  (Read 11593 times)

0 Members and 1 Guest are viewing this topic.

taggen

  • Coppermine newbie
  • Country: se
  • Offline Offline
  • Gender: Male
  • Posts: 8

It would be nice if the resizing of the watermark could depend of both the width and height of the picture.

One way would be to refer to the shortest side.
Another way could be to enable the possibility to set both the width and height of the picture as parameters. (A zero value could mean – Don't care!)

That would ensure the watermark don't go outside any of the top, bottom, left or right edge of the picture - both in portrait and landscape pictures.
This is especially useful if you use a centered watermark and particularly if it has considerable width and height – for instance if it is square or round.
Logged
// taggen
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.