Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create thumbnails of 96x96 with GDI+ ?
Message
From
14/08/2006 05:42:34
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01145222
Message ID:
01145238
Views:
21
>Check GDI+ image class Download # 18584
>
>>Hello,
>>
>>I would like to have thumbnails from JPG images.
>>Like in Windows explorer, I want to have thumbnails of 96x96 pixel.
>>If the image is in portrait, there will be space on the right and left side and if it's in landscape, there will be space on the top and the bottom.
>>
>>My idea was to use gdiplus like this :
>>- create a blank image of 96x96 (OK)
>>- resize the image to fit in the blank one (OK)
>>- Paste the resized image in the blank one (Can't find how...)
>>
>>In gdiplus, I can't find how to paste an image into another...
>>
>>Any tips ?
>>
>>Thanks,
>>Regards
>>Steph

Thanks.
In fact I'm already using it (very useful). The thumbnail method works OK but not as I want (the picture must fit in a 96x96 shape with borders, like this it won't be deformed).
Previous
Reply
Map
View

Click here to load this message in the networking platform