> Both are free, open-source and were released more recently than the
library
> you're using now. You'll probably have better luck with these libraries.
At
> any rate, all of the libraries are derived from the original IJG code(as
> nearly every JPEG library is).
>
>
> Regards
> -Laurens
>
>
>
Taken from the source of DevToolsLPEGLib:
- in jchuff.c, line 259: replace
if (i < 0 || i > maxsymbol || dtbl->ehufsi[i])
with
if (i > maxsymbol || dtbl->ehufsi[i])
(i has been assigned an UINT8 which is always nonnegative; CodeWarrior
doesn't compile it correctly)
This is exactly the probleme that I 've find and my work arrond was to
remove the i<0 test.
Looks like they did no better then me ;)
So this tread is resolve. Thanks all.
Note:
In jcPalm there are 2 new enum value to select the palm bmp encoding BMP565
and YUV422.
That way I dont have to translate from BMP565 to 24 bits RGB before sending
the buffer to the compressor.
After a quick glance at DevToolsLPEGLib I did'nt see the equivalant enum.
(maybe it just did'nt fall under my eyes)
--
Regis St-Gelais
www.laubrass.com
--
"Laurens" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
> You might want to try other JPEG libraries:
>
> http://flippinbits.com/twiki/bin/view/Main/DevToolsJPEGArmlet
> http://flippinbits.com/twiki/bin/view/Main/DevToolsJPEGLib
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/