trim()
function should only trim transparent pixels but trims black pixels too
#2842
Labels
trim()
function should only trim transparent pixels but trims black pixels too
#2842
What are the steps to reproduce?
Trim the following image:
You'll get this result:
What is the expected behaviour?
Only trim transparent pixels instead of transparent AND black pixels.
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
Run the above code snippet with this image as
input.png
:What is the output of running
npx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: