VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234[5]678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 09:50:32 10/03/02 Thu
Author: Dave Bracken
Subject: Memory problems in envision???

Hello,
I am having a problem with the envision library. I am using a Pegasus ScanXpress ISIS tool to do high speed scanning. I then create a dib graphic and assign it to the envision control. Then i save the image out to a file.
Here is the problem:
After about 10 images going through the scanner, the software slows down considerably. If i turn off the anti-aliasing, and also make sure the zoom factor is set to an easily dividable number (such 50%) it seems to work fine. But i really need the ability to scan and display the images at different zoom factors, and really need the anti-aliasing turned on.
We are a document imageing company and some of the files we scan can be anywhere from 10 to 500 pages. My software scans each image and puts it in the imagescrollbox, and saves the file out to a single-page tiff.
Ex:
The ScanXpress control has an afterscan event. After each image is pulled in, i have the image put into a Tdibgraphic and assigned to the imagescrollbox. Then i free the Tdibgraphic. Then i immediately save the image out to a Tiff File.
In the Before Save event of the imagescrollbox, i set the compression of the ttiffgraphic to tcGroup4.

It is as if the imagescrollbox is not freeing up the memory after the savetofile call. Do i need to call some method or something that will free up the memory allocated by the image scrollbox after the save?

This does not happen on my p.c. But my p.c. is the development box. It only happens when i put the software on other machines.

Please advise what i can do to speed up the software.

Thank you,
Dave

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.