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

Set sampling factor to 1 by default #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpohl100
Copy link

@mpohl100 mpohl100 commented May 5, 2018

This way all pixels will be considered in the Learning Phase of NeuQuant.
See: https://scientificgems.wordpress.com/stuff/neuquant-fast-high-quality-image-quantization/
I encountered the problem when converting black text on white background. Sometimes the black color was not gathered because of the sampling phase of NeuQuant. This might be worth a try for other color problems too.

 This way all pixels will be considered in the Learning Phase of NeuQuant.
See: https://scientificgems.wordpress.com/stuff/neuquant-fast-high-quality-image-quantization/
I encountered the problem when converting black text on white background. Sometimes the black color was not gathered because of the sampling phase of NeuQuant. This might be worth a try for other color problems too.
This was referenced May 5, 2018
melondey pushed a commit to melondey/shakeit that referenced this pull request May 7, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant