Skip to content

fix: fit photo watermarks inside resized images - #32

Merged
odykyi merged 1 commit into
flisk-sh:mainfrom
draarivpatel-ui:fix/watermark-fit
Nov 24, 2026
Merged

odykyi merged 1 commit into
flisk-sh:mainfrom
draarivpatel-ui:fix/watermark-fit

Conversation

@draarivpatel-ui

Copy link
Copy Markdown
Contributor

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.

Signed-off-by: draarivpatel-ui <287273626+draarivpatel-ui@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 19:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4794a935-17f8-4f35-bfc7-9a18318631af
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sonarqubecloud

Copy link
Copy Markdown

@odykyi
odykyi merged commit bebcb92 into flisk-sh:main Nov 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants