Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gpimage.saveasjpeg error
Message
From
11/07/2008 13:13:03
 
 
To
11/07/2008 11:40:38
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01330572
Message ID:
01330619
Views:
29
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform