>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