Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create thumbnails of 96x96 with GDI+ ?
Message
From
16/08/2006 12:05:16
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
16/08/2006 05:29:11
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:
01146035
Views:
14
>
>A last question : Do you know how to have a white background (sides) for jpg thumbnails ?
>Thanks

Insert this code
ogpPen = NEWOBJECT('gpPen', '_gdiplus.vcx')
ogpPen.Create(BITLSHIFT(16777215,24) + BITAND(16777215,0x00FF00) + ;
			BITLSHIFT(16777215,16) + BITRSHIFT(16777215,16),2,2)
oGraphics.DrawImageScaled( oImage, 1,1, nW-2, nH-2)
oGraphics.DrawRectangle(oPen,0,0,96,96)
Previous
Reply
Map
View

Click here to load this message in the networking platform