Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gpimage.saveasjpeg error
Message
De
11/07/2008 13:13:03
 
 
À
11/07/2008 11:40:38
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
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01330572
Message ID:
01330619
Vues:
27
>I have been using gpimage to resize large photos (over .5 meg) before they are displayed on our form or printed in our reports. Prior to using gpimage we were sometimes getting errors displaying photos having high resolution. I've had the logic in place for over a year and the photo resizing in our app is used by a large number of clients with no problems. All of a sudden one of our user is getting the following error when gpimage attempts to resize:
>
>GDI+ error in GPIMAGE.SAVEASJPEG
>Error Code: 7
>Description: Win32 Error
>
>I have their data on my machine and do not encounter the error.
>
>Does anyone know what might be causing the error?

Hi Melanie,

First, I'd try to follow Sergey's suggestion.

There is a more recent (still old :-D ) version of GPIMAGE2 that you can get from here:
It contains some few tweaks in several methods, maybe it can work better for you.


Does the error occur only with big images ?
Only using the JPEG encoder ? Did you try the others ?

http://gpimage2.googlepages.com/
At the end of the page you'll find the download link.

HTH

Cesar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform