Eric, you are right. The library does not provide any dithering currently. There are few options you could consider to improve quality of images decompressed by our library specifically for 8bpp devices: - preprocess the images you are going to include into your application on desktop to do color dithering/reducing. Keep in mind that default palette for 8bpp Palm is very similar to web based one. - consider to switch from jpeg to gif, as gif is faster, keeps the palette inside, and is probably better for 8bb images. Our library does support gif now. - ask us out of list for our quotes to include support for dithering into library
Probably, we could improve the library to analyze the image and insert generated new palette into 8bpp bitmap created from 24bpp jpeg image for better results, but it will either slow down PalmOS 3.5 WinDrawBitmap function or will force you to redesign colors in your UI due to a new palette. Anyway, 8bpp devices are not our priority, so we hardly concetrate on it unless we have some contract signed for these changes. -- Konstantin "Eric Snider" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We're trying the Absoluteword jpeg decompression > library. So far it's pretty cool. It's fast and works > great on OS 5 devices. > > http://klyatskin.narod.ru/ZIP/JpegSample.zip > > It looks like it doesn't have error diffusion (a.k.a > dithering). So image quality is poor on 8 bit or lower > devices. How do the other jpeg libraries do with lower > bit depth displays? If we decide to use jpeg images > then they need to look good on many devices. We > believe in the "one application that can run on > everything" philosophy. > > Has anyone else used this jpeg library from their own > code? I'm curious how it went and if there were any > problems or tricks we can share. > > Eric > http://www.sniderware.com > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
