>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).