We would like to watermark images automatically, after its uploaded to S3. How do we achieve this using a java based library?
How to watermark images uploaded into S3 [closed]
The flow should be as follows to watermark images whenever it is uploaded:
- Raw image (without watermark) is uploaded to S3 bucket
- Use S3 events (such as s3:ObjectCreated:* based on your need) to trigger Lambda. Hence, you need to configure S3 event destination as Lambda.
- Lambda shall apply watermark and upload watermarked image
NOTE: If you don't use Lambda, other way is via SQS/SNS as event destination, and your worker shall take request from it and apply watermarking.
What library should be used for watermarking the image, when the lambda is triggered. –
Hiroshima
Pls refer codejava.net/java-se/graphics/… OR old thread #5460201 –
Montes
I need watermark library without awt(java.awt.*) –
Hiroshima
© 2022 - 2025 — McMap. All rights reserved.