This is the bug tracker for Photo Organizer.
FS#388 - Watermarking source bug
Attached to Project:
Photo Organizer
Opened by Ryan Rittenhouse (crystalshadow) - Friday, 26 September 2008, 19:39 GMT
Last edited by Solomon Peachy (pizza) - Saturday, 27 September 2008, 14:12 GMT
Opened by Ryan Rittenhouse (crystalshadow) - Friday, 26 September 2008, 19:39 GMT
Last edited by Solomon Peachy (pizza) - Saturday, 27 September 2008, 14:12 GMT
|
DetailsI'm not completely sure if this is a bug or by design, but it prevents using a trasparent watermark which is driving me batty :p. When PO calls composite to watermark an image it is referencing the PREVIEW image of the watermark instead of the original image. This means if I upload a transparent PNG or GIF that it won't be transparent and looks weird to say the least.
Code currently supplies the following: /usr/bin/composite -gravity 'southeast' -watermark '20' '/storage/photoorg/v0150/00001/20891_20763_2_preview.jpeg' '/storage/photoorg/v0150/00001/20900_20766_2_preview.jpeg' -quality '85' '/storage/photoorg/v0150/00001/20900_20766_2_preview.jpeg' "Should" be: /usr/bin/composite -gravity 'southeast' -watermark '20' '/storage/photoorg/v0150/00001/20891_o_original.png' '/storage/photoorg/v0150/00001/20900_20766_2_preview.jpeg' -quality '85' '/storage/photoorg/v0150/00001/20900_20766_2_preview.jpeg' |
This task depends upon
Closed by Solomon Peachy (pizza)
Saturday, 27 September 2008, 14:12 GMT
Reason for closing: Fixed
Additional comments about closing: Will be in 2.36.1
Saturday, 27 September 2008, 14:12 GMT
Reason for closing: Fixed
Additional comments about closing: Will be in 2.36.1
You do raise an interesting point though; using the original unmolested makes more sense IMO. This should be pretty straightforward to fix.
You'll need to apply this patch, then re-set the watermark image.
http://git.shaftnet.org/git/gitweb.cgi?p=po.git;a=commitdiff_plain;h=29d5b2bed62397cab6a33a43a29bc2d7226698d4