Page 1 of 1

Thumbnails

PostPosted: Nov 24, 2003 @ 2:45pm
by Dynz
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

PostPosted: Nov 24, 2003 @ 4:17pm
by ppcStudios
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.