Closed gamontoya closed 5 years ago
@gamontoya / @mdpeters Do we have the watermark image that can be used for image watermarking? Also, do we need to watermark all derivatives like image-large, image-huge, image-service, image-preview, image-thumbnail, image-icon? And how about the watermark image use for for each size? Thanks.
@lsitu watermark image above. I think it should only be necessary for the larger images sizes (probably image-service and larger) and for the zoom tiles.
@gamontoya / @arwenhutt Which watermarking derivative are we going to use for zoom tiles creation? Should we need to create a new derivative for it or use image-huge instead?
@lsitu What is image-huge? Does that exist already?
@gamontoya It's a derivative added for DAMS4 but we haven't use it yet. And yes, it's created on ingest for every image file with size 1600x1600.
@lsitu That makes sense. I say go ahead and use that derivative.
@lsitu Should this ticket be open?
@gamontoya Yes. I am reopening it now.
@mcritchlow I've added PR https://github.com/ucsdlib/damsmanager/pull/336 for image watermarking support with ImageMagick convert. It's ready for review now. Thanks.
Descriptive summary
Use ImageMagick to create watermarked images for VRR.
Related ticket
ucsdlib/damsmanager#320
Huawei notes
@lsitu For your question about the command to apply watermark to image. Here is the basic syntax: $COMPOSITE -gravity SouthEast watermark.png input.jpg output.jpg
There are several options to adjust such as: $composite -quality 100 -gravity South -density 400 VRR_SCA_watermark.png -resize 500x300 -geometry +100+20 test_image/input.jpg result/output.jpg
Here is the reference: https://imagemagick.org/Usage/annotating/#wmark_image
Related work