Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add canvasFill option #2241

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

crespire
Copy link

@crespire crespire commented Jul 4, 2023

I found that when converting PNG with transparency to a JPG, the image ended up with a black background.

I added this as a proof-of-concept, but it really should be a configuration option. If this idea is worthwhile, I'm happy to pursue it via using an option like resizeCanvasBackground or something like that.

I ended up implementing canvasFill as an option.

@crespire crespire changed the title Feat: Add white BG Feat: Add white BG to thumbnail or resize action Jul 4, 2023
@crespire crespire changed the title Feat: Add white BG to thumbnail or resize action Feat: Add option to controll fill color on thumbnail or resize action Jul 6, 2023
@crespire crespire changed the title Feat: Add option to controll fill color on thumbnail or resize action Add canvasFill option Feb 24, 2024
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.

None yet

1 participant