Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JPEG Resizing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Divers
Thread ID:
00740402
Message ID:
00740809
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>Does anyone have experience resizing .JPG files from within VFP? Are there any Windows API routines that can be called to do this?

Scott,

I sent you a GDI+ image class. It's not finished but can be used for your task. The code should look like this:
#include gpImage.h
If Not "gpImage" $ Set("Procedure")
	Set Procedure To gpImage Additive
EndIf
gdip = CreateObject("gpInit")
img = CreateObject("gpImage")

img.Load("test.jpg")
img.Resize(100,200,InterpolationModeHighQuality)
img.SaveJPG("out.jpg")
HTH,
Alexander
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform