Skip to content

add a optional contentMode param for resizePixelBuffer#49

Open
luca992 wants to merge 2 commits intohollance:masterfrom
luca992:patch-1
Open

add a optional contentMode param for resizePixelBuffer#49
luca992 wants to merge 2 commits intohollance:masterfrom
luca992:patch-1

Conversation

@luca992
Copy link

@luca992 luca992 commented Jan 7, 2022

defaults to fill (current behavior) and added the ability to fit.
.fit param center fits an image in the pixelbuffer while maintaining aspect ratio

defaults to fill (current behavior) and added the ability to fit. 
.fit param center fits an image in the pixelbuffer while maintaining aspect ratio
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.

1 participant