Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create thumbnails of 96x96 with GDI+ ?
Message
De
16/08/2006 12:05:16
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
16/08/2006 05:29:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01145222
Message ID:
01146035
Vues:
15
>
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform