hi!

what is the best way to encode and decode jpeg files on treo 650?
currently i'm using the external pnoJPEG library (great work, Stefan! :-))
but this is bad solution for this particular purpose: the application
itself is quite small and it can only run on treo 650, which supports
jpeg in other applications, so installing another library seems
stupid...

unfortunately the official API does not work as expected.
i tried the following:

1. photos api: PalmPhotoOpenImage with location set to StreamFile.
does not recognize JPEG file.

2. codec manager.
works fine on my "unlocked GSM" device, but fails on cingular phone.
further investigation revealed, that my treo has 49 codec pairs available
(via CodecMgrEnumerateFormats) and the cingular one has only 7! (MPG4 ->
IM0M, MPG3 -> PCM1, PCM1 -> AMRS, AMRS -> PCM1, PCM1 -> PCM1, APCM ->
PCM1, PCM1 -> APCM ...no JPEG!!!)

i know there is a "secret" jpeg library on this device, have anyone tried
using it? does it work reliably?

please help!

sz.


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

Reply via email to