Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfpimage.zip
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Miscellaneous
Thread ID:
00699980
Message ID:
00700143
Views:
12
Yes Randy, I'm using =IMGClear()
cmyfilenamejpg = ALLTRIM(oSession.tmppath) + "\" + ALLTRIM(Thisform.Name) + ".jpg"

= IMGConvert((cmyfilenamejpg), JpegImage, 100) 
= IMGClear()
I'm wondering if it's not the way I define constants. I put constant in a file name dgcstd.h and at the top of my method, I put #include dgcstd.h. In the main program, I have put
set library to vfpimage.fll ADDITIVE
I'm using VFP7 SP1, Win98.


>Are you calling the IMGVClear method at the end?
>
>
>IF IMGLoad(ard1.image_file) = 2
>  =IMGConvert("C:\APPSTEMP\ARD.BMP",1,0)
>  =IMGClear()
>ENDIF
>
>
>
> The above is my code to load the image whose name is stored in the ard1.image_file and convert it to a BMP. Works on Win2K, Win98, and WinXP with no C00000005 errors. It ran when my code was in VFP6, and it still runs in VFP7 SP1.
>
>
> HTH
> Randy
>
>
>>Hello all!
>>
>>I need to convert BMP file to JPEG (in batch processing)
>>
>>So I have found this in the Download section:
>>Image Conversion and Compression
>>Download the file vfpimage.zip
>>from Neil Tonkin
>>
>>It do exactly what I want, but I always receive error C0000005, when I leave the application. It's like I'm missing memory or something after a while...
>>
>>For the moment, I use praticly the same code as in the exemple/doc.
>>
>>Is it because I need to RELEASE something?
>>I'm using VFP7 SP1.
>>
>>Thank's in advance for all your answers or idea.
Eric.
Previous
Reply
Map
View

Click here to load this message in the networking platform