How to watermark images uploaded into S3 [closed]
Asked Answered
H

1

7

We would like to watermark images automatically, after its uploaded to S3. How do we achieve this using a java based library?

Hiroshima answered 22/10, 2020 at 7:54 Comment(0)
M
0

The flow should be as follows to watermark images whenever it is uploaded:

  1. Raw image (without watermark) is uploaded to S3 bucket
  2. Use S3 events (such as s3:ObjectCreated:* based on your need) to trigger Lambda. Hence, you need to configure S3 event destination as Lambda.
  3. 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.

Montes answered 22/10, 2020 at 8:35 Comment(3)
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 #5460201Montes
I need watermark library without awt(java.awt.*)Hiroshima

© 2022 - 2025 — McMap. All rights reserved.