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

Thumbnails


Thumbnails

Postby Dynz » Nov 24, 2003 @ 2:45pm

HI

I am new to this forum, and was wondering if anyone knows how I can create and save thumbnails using GapiDraw. I would like the image browser I am developing to run on the pocket pc. I want to be able to read in most common file types and generate png thumbnails and save them.

I would appreciate any comments

regards

Dynz
Dynz
 


Postby ppcStudios » Nov 24, 2003 @ 4:17pm

I haven't tried this to verify it, but you could create a surface that is the size of the thumbnail you desire, then copy your full size image surface to the thumbnail surface allowing GD to scale it down (or use whatever scaling algorithm you want). Then simply save the thumbnail surface using SaveSurface.
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

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

cron