"Chris Olson" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
> I'm still looking ito exactly what they mean by all of this  :-)
> ...it's not the most clearly worded of statements, especially as the
> libraries themselves are not actually mentioned in the doumentation at
> all...
>
> ... I have access to both pieces of hardware and will report !

I've the FotoFinish sample on a Zire 71 with the lib prcs.
FotoFinish is able to load the library but is not able to access the
PhotoApp database.

>
> ...but right now I havea bit of a problem.  If anyone can help with this
> one...
>
> I'm trying to use the libs to display a (roughly) 320x320 jpeg on a 16
> bit display.  Here is the function I'm using:
>
> The symptom is that the colors look like the palette is messed up.  The
> screen is set up in 16 bit mode as well.
> Anybody see anything I'm missing?
>
> PS.  The freeware jpeglib works fine...  I must be missing something...
>

I did not look in detail into your code but just in case you don't know,
here are a few hints:

- Palm use RGB565 for it's 16 bit color. Most JPEG library convert to 24
bits RGB. If this is your case, tou must convert your data from 24 bits RGB
to RGB565. It is done by masking and shifting. 5bits for R, 6 bits for G and
5 bits for B.

The library I am using (jcpalm) can convert directly to RGB565. It is
avaliable from the eyemodule web site in the developer section.
www.eyemodule.com  It can be used freely as long as you acknowledge the
copyright inside your own copyright. It is the case for all library made
from the code from the IJG (Independant JPEG Group). See the readme.txt with
the library.
(By the way, if you open the about box of MSN Messenger, you will see the
same acknoledgment of the IJG)

Hope this helps

-- 
Regis St-Gelais
www.laubrass.com
--



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to