Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve artifacting by expanding the color palette #2

Open
willnorris opened this issue May 29, 2015 · 0 comments
Open

improve artifacting by expanding the color palette #2

willnorris opened this issue May 29, 2015 · 0 comments

Comments

@willnorris
Copy link
Owner

currently, transformed images use the same color palette as the original image. This may cause some artifacting on resized images because a pixel may use a color average of its surrounding pixels that is not in the palette.

This is the same as gifsicle's "resize-colors" option:

Allow Gifsicle to add intermediate colors when resizing images. Normally, Gifsicle's resize algorithms use input images' color palettes without changes. When shrinking images with very few colors (e.g., pure black-and-white images), adding intermediate colors can improve the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant