Author |
Topic  |
|
messeexperten
Germany
6 Posts |
Posted - Sep 15 2015 : 03:55:17
|
hallo, i get a access violation at imageenmview.GetImageToStream.
see then testproject in attachment.
I load a multi-tiff-Image to imageenmView. Now I set imageenmView.MIo.Params[x].tiff_compression. Next I called GetImageToStream for all Images in imageenmview first time and all is ok. Now I called the same 2 or 3 time and the access Violation is fired.
please help.
Ulrich Herrmann
attach/messeexperten/201591535411_TestimageEn.zip 9082.65 KB |
|
xequte
    
39056 Posts |
Posted - Sep 15 2015 : 16:47:29
|
Hi
What version of Delphi and ImageEn are you using? Your compiled demo crashes, but when I compile it myself with ImageEn v6.2.0 it does not crash (even if i loop it 1000 times).
If you are already using v6.2.0, check you do not have multiple instances of ImageEn lurking on your system. Try uninstalling ImageEn and then reinstalling it.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
 |
|
messeexperten
Germany
6 Posts |
Posted - Sep 24 2015 : 10:51:04
|
hallo,
enviroment window 7 RadStudio xe7 enterprise all updates installed imageen V6.2.0 IEVision 3..
imageen is uninstall all directories bpl's and so on are deleted imageen is new install
I test to compile and install imageen manuell
not at all time the error does fired. When you compile the testproject and run it, some times all is ok, but when I call TImageEnMView.Clear (Button clear) and load the images again and call GetImageToStream(...) the error triggered. The same at GetImageToFile(...).
The function's call fImageEnIO.Params.Assign( GetImageEnMIO.Params[idx] );
params is not available or corrupt at this time so the function fail's.
Sometime's a little change in sourcecode (set the params.... to other value or so on ) and the error triggered direct.
At time I don't understand when params will change. If you debug my test-project extern, perhaps you can see what happen.
I'am not sure, but I think I see the error add previous version too.
|
 |
|
xequte
    
39056 Posts |
Posted - Sep 25 2015 : 05:44:49
|
Hi
A lot of TImageEnMView code changed with 6.2.0, so it is possible that an issue has been introduced, though I personally implemented the unit testing of this and we test it in thousands of different configurations.
See if you can create a simple demo that processes the images continuosly until it reproduces a failure and I will add it to the unit test and eliminate any issue.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
 |
|
messeexperten
Germany
6 Posts |
Posted - Sep 25 2015 : 10:41:07
|
hi,
you get the error all time, when you use big multitiff-images (ec. 100 pages and > 100 MB ). It is something with multithread sync.
Ulrich Herrmann
|
 |
|
w2m
   
USA
1990 Posts |
Posted - Sep 25 2015 : 10:45:59
|
If you do not provide Nigel with a demo that reproduces the problem it will be difficult to solve your problem.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
 |
|
messeexperten
Germany
6 Posts |
Posted - Sep 26 2015 : 16:43:47
|
the first replay contains a test-project. When it is use with big tiff-files with more big images which is load more times, the error is trigged at my pc every times. I check the project on a other pc. RadStudio XE7 and imageen will be new installed. Different is only the size of the tiff-file. At all checks params is not define and at ...params.assign the error fired. At the project is only a small tiff file. I think it is not good idee to post a tiff file with more than 200 mb.
ps the workaround I use is:
for yi := 0 to imvSource.ImageCount-1 do
begin
imvSource.SelectedImage:= yi;
imvSource.MIO.SaveToStream(ymemS,ioTiff,true);
end; this runs all time I check it fine.
|
 |
|
xequte
    
39056 Posts |
|
messeexperten
Germany
6 Posts |
Posted - Sep 28 2015 : 02:38:49
|
thank's
I will create a file, but I need some time. The existing file's includes intern business documents where I can't send.
Ulrich Herrmann |
 |
|
|
Topic  |
|