Really ? But do you really mean dither or maybe quantize ?Fred wrote:PureBasic v4.50+ uses the very same algo to dither the pictures when using saveimage() with 8 bit paramter.
I'm confused by your use of "dither" here.
Because this algorithm use two different type of dithering BTW (floyd steinberg and sierra). But they are somewhat marginal. The important thing is the type of quantization applied. Fred, are you telling me now PB use the same quantization's algorithm ? The Neuquant ?
EDIT: just tried a quick save of 32 bit image to 8 with pb, in any case the quantization is *very* good. About the flag #PB_Image_FloydSteinberg mentioned in the manual... the compiler don't recognize it...(PB 4.51 RC1).
So... DOH!