Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in cloner transparency (#1388)
If an image was cloned with cloneEmpty() and a fully transparent color for exampe "rgba(255, 255, 255, 0)" the turned out as white background when encoding formats with only binary transparency like GIF. This patch sets the background color as fully transparent if it has an alpha channel value is below `0.5`.
- Loading branch information