Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxCharts candidate release
Message
De
19/11/2008 16:24:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01362931
Message ID:
01362969
Vues:
12
>Looking at the GDIPlusX methods and writing code is out of the question ;)

Why not ???

The codes are really very simple to be understood.
Just see the codes that are currently resizing the image, and just instead of applying a specific value for the new size, apply the following formula:
lnNewWidth = lnOriginalWidth * lnRatio
Where
lnRatio > 0; is the percentage to be applied to the image

That's all you have to know :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform