Repository navigation
fix: fit photo watermarks inside resized images - #32
Conversation
Signed-off-by: draarivpatel-ui <287273626+draarivpatel-ui@users.noreply.github.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|



A watermark longer than a small photo produced an overlay wider than the image, so compositing could clip or fail. This passes the resized dimensions to the watermark generator and scales the overlay down to fit inside them. Adds a regression test that watermarks a 96x32 photo.