Closed andresriveratoro closed 3 years ago
@all-contributors please add @andresriveratoro for code and maintenance
@onurzorluer
I've put up a pull request to add @andresriveratoro! :tada:
Since this commit, the improvement is reverted and background color is black again: https://github.com/onurzorluer/react-image-file-resizer/commit/34d7a399ddcfbb90e6e4c7b2417ef5828619285b
Fortunately there is version react-image-file-resizer@0.4.6 , which i prefer to use.
When compressing a file format that contains transparency to a file format that doesn't support transparency, the transparent background is returned as black.
This change will return transparent backgrounds as white.