brendan-duncan / image

Dart Image Library for opening, manipulating, and saving various different image file formats.
MIT License
1.14k stars 255 forks source link

copyExpandCanvas: Issue with 48-bit colors #624

Closed justprodev closed 3 months ago

justprodev commented 3 months ago

Problem: copyExpandCanvas produces image with wrong colors when original image contains 48-bit colors

Test:

original image:

buck_32

expanded:

copyExpandCanvas_default

Please find and review pull request attached.

Thanks.

brendan-duncan commented 3 months ago

Closing since the PR was merged.