Skip to content

Set sampling factor to 1 by default - #34

Open
mpohl100 wants to merge 1 commit into
antimatter15:masterfrom
mpohl100:patch-1
Open

mpohl100 wants to merge 1 commit into
antimatter15:masterfrom
mpohl100:patch-1

Conversation

@mpohl100

@mpohl100 mpohl100 commented May 5, 2018

Copy link
Copy Markdown

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.

1 participant