Skip to content

Conversation

@yisibl
Copy link
Member

@yisibl yisibl commented Sep 25, 2025

Previously, padding scaled proportionally with changes to the output image dimensions. Now, regardless of the width/height values set in fitTo, the padding remains constant.

When the padding exceeds half of the set dimensions, the output image will become transparent.

@vercel
Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
resvg-js Ready Ready Preview Comment Sep 25, 2025 3:49pm

…ensions

Previously, padding scaled proportionally with changes to the output image dimensions. Now, regardless of the width/height values set in fitTo, the padding remains constant.

When the padding exceeds half of the set dimensions, the output image will become transparent.
@yisibl yisibl merged commit 7fa7341 into main Sep 25, 2025
44 checks passed
@yisibl yisibl deleted the fix-padding branch September 25, 2025 15:58
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.

2 participants