Yes. You are wrong as we offer jpeg/gif library for CodeWarrior developers.
http://www.absoluteword.com/jpglib/ (haven't updated the site though...)
The library runs on any Palm 3.5 or later. Uses Motorola assembler code or
native ARM when applicable. Memory requirements are minor.
As for GIF, below you'll find GIF library h file. You'll be able to show
the whole animation cycle or unpack and show any frame from the file.
Actually you'll get uncompressed bitmap and can do whatever you want with
it.
The library could be shipped either as binaries:
*.lib - library
*.h - headers
*.bin - ARM code resource
*.dll - simulator library
or as source code:
CW project + VC project for DLL
Currently the library supports both baseline and progressive jpegs and
animated gifs (interlaced or not). For the price contact me of list. The
options are:
- baseline jpegs only: binaries or source
- baseline/progressive jpegs only: binaries or source
- gif only: binaries or source
- jpeg/gif: binaries or source
#ifndef __GIFLIBRARY_H__
#define __GIFLIBRARY_H__
typedef struct GIF_INFO {
// image info
unsigned short width; // width
unsigned short height; // height
unsigned short totalFrames; // amount of frames
unsigned short repeatCount; // loop count
// last frame info
unsigned short x; // top left
unsigned short y; // top left
unsigned short w; // width
unsigned short h; // height
unsigned long delay; // milliseconds to wait
short t_color; // transaparent color if != -1
short disposal; // what to do after the draw
} GIF_INFO;
#define DISPOSAL_NOTHING 0
#define DISPOSAL_LEAVE 1
#define DISPOSAL_RESTORE_BACK 2
#define DISPOSAL_RESTORE_IMAGE 3
typedef void* GIF_HANDLE;
#define gifErrNoMemory 1
#define gifErrWrongFormat 2
// ------------------------------ gif functions
GIF_HANDLE gif_Open(void *image);
void gif_Close(GIF_HANDLE);
unsigned short gif_GetInfo(GIF_HANDLE gifHandle,GIF_INFO *gifP);
void gif_Animate(void* data, short X, short Y); // play the whole gif once
BitmapPtr gif_GetBitmap(GIF_HANDLE gifHandle, unsigned short frame,GIF_INFO
*gifP,unsigned short *errorP); // get specific frame
void gif_PreDraw(GIF_HANDLE *gifHandle, short X,short Y); // refresh screen
between frames before next frame
#endif // #ifndef __GIFLIBRARY_H__
--
Best regards,
Konstantin
------------------------------------------------------
RoadLingua - over 300 dictionaries and encyclopedias
for Palm OS and PocketPC handhelds.
http://www.roadlingua.com
======================================================
>
> I might be wrong, but I don't think there's any GIF libraries for Palm.
> yer probably going to have to convert them to palmstyle bitmaps.
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/