performance - What is the fastest available color quantization algorithm for Android? -


i'm using neuquant quantization algorithm (https://code.google.com/p/android-gif-project/source/browse/trunk/gifproject1/src/com/ui/neuquant.java?r=5) reduce jpeg 256-color image it's slow (~1 second 320x240 image, ~3 seconds 640x480). multiple threads can't processing time decent level (ideally in 100ms per image range).

does know faster algorithm reduce color palette of image 256 colors?

extracting 256 colors of edge case, should have @ median cut quantization. here implementation : github link
option octree.
should bench both solutions though , ways improve them.

additionally, running algorithm through renderscript might allow speed lot.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -