shackers
United Kingdom
28 Posts |
Posted - Jan 11 2021 : 04:58:08
|
I am using TImageEnView to batch deskew images. 64 bit.
It works fine most of the time, but I have noticed a problem with certain images (see the attached).
It is obviously a ridiculous file to deskew as it is only 1 pixel wide. However, This is an unmonitored routine and I do not have control over what is submitted to the process.
I am calling the procedure as follows: proc.SkewDetectionFine( 0, 0.1, 10, false) and it is hanging resulting in the necessity to terminate the process.
This is resulting in massive memory leaks for example terminating on one occasion threw up the following leaks all connected with a single Deskew process 3 of 98,304,312 bytes 1 of 313,344,000 1 of 313,339,104
I have changed my code so images that evidently do not require deskew do not get submitted for deskew, but no doubt you would not want the Deskew process to hang in this way.
|
|