View Single Post
Old 18 April 2015, 20:10   #9
Mrs Beanbag
Glastonbridge Software
Mrs Beanbag's Avatar
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,202
Originally Posted by jsr View Post
Why not?
Well i suppose many of us could benefit from it. Personally i'd like to be able to incorprate a PNG loader into some of my own code, albeit nothing so sophisticated as yours.

I quantize the palette to 5-bit (2-32 colours), then i create the imaginary second palette over the index of 32 and then i just use the extended table in the eucledian colour search with the imaginary colors too.Thank you.
I have wondered before about the best way of doing this, but then i don't really know how colour quantization works anyway. Maybe there is another cunning trick one could use... thinking cap time!
Mrs Beanbag is offline  
Page generated in 0.03936 seconds with 10 queries