This site is no longer active and is available for archival purposes only. Registration and login is disabled.

zlib?


zlib?

Postby draklava » Sep 21, 2002 @ 7:43am

Any plans to support zlib for compressing surface images? It cuts bitmap sizes in half

also - does PF expect Bitmap files to be a particular color depth (24 vs. 16 or 8?)
User avatar
draklava
pm Member
 
Posts: 79
Joined: May 15, 2002 @ 6:13am
Location: Atlanta, Albania, Wherever


Postby Kzinti » Sep 21, 2002 @ 8:14am

Zlib is compatible with PocketFrog, feel free to use it. I am unsure what you mean by "Zlib support in PocketFrog".

If you want to load a zlib compressed image, you have to first decompress the file in a memory buffer (using Zlib) and then use PocketFrog to decode the image (function LoadImage()).

Concerning the bit depth, PocketFrog uses the imgdecmp.dll file to decompress images. Any format supported by Pocket IE is thus supported (bmp, jpg, gif and png). You might experience problems with 16 bits DIB .BMP files on Casio devices though. In that case, you should use the shell API (SHLoadImage).
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


a ha

Postby draklava » Sep 21, 2002 @ 4:25pm

User avatar
draklava
pm Member
 
Posts: 79
Joined: May 15, 2002 @ 6:13am
Location: Atlanta, Albania, Wherever


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum