You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there's no thresholding for alpha conversion (or something like that). For jpeg I can force a background color, but for GIF I think we should be able to do something smarter.
The text was updated successfully, but these errors were encountered:
I'm also thinking that it may be more correct to blend the background color immediately prior to encoding. Currently this happens during image scaling (for speed), but prior to image filters being applied. Since one of those filters is alpha adjustment, the current approach doesn't fully solve the problem.
Run the demo server, then try these:
http://localhost:39876/demo_images/sun_256.png?format=gif


http://localhost:39876/demo_images/sun_256.png?format=jpg
It looks like there's no thresholding for alpha conversion (or something like that). For jpeg I can force a background color, but for GIF I think we should be able to do something smarter.
The text was updated successfully, but these errors were encountered: