ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Out of Memory with ImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tgentry

USA
7 Posts

Posted - Mar 30 2017 :  08:39:33  Show Profile  Reply
Hope someone can help Version 6.2.1 Delphi XE7 Windows 7 and 10 64bit.
I'm running out of memory when scanning in Gray scale. I have a sql 2008 server where I store images into a blob field.

I have ImageEnMview and ImageEnView on the form. I have the EnMview to show the images in the blob field. I use EnView to show the images in full when clicked on from EnMview. When EnMview Store Type is on ietNormal I'm getting memory errors with images.The blob field holds a multi page tif of 90 pages or more. If I try to append more images and save I get out of memory errors.

I have added the 64 bit as well as the 32 bit dll to the application folder as well as to the windows directory. If I change the store type to ietThumbs the memory is much lower. I have enView assigned to EnMview so if I use the ietThumb store type I get a blurred image in EnView. I do not see a way to use EnView to pull the original images from the stream. I'm sure there is a way to do it but this is all new to me. Any help would be appreciated.

xequte

38613 Posts

Posted - Mar 30 2017 :  23:23:50  Show Profile  Reply
Hi

If you store many full large images within a TImageEnMView then you can run out of memory (imagine opening 90 images in Photoshop), so you should use the ietThumbs sotrage method.

What you want to do is when the user clicks an image in the TImageEnMView, navigate to that location in your database, then load the image directly from database into the TImageEnView.

Try out the database demos to see methods to do this.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

tgentry

USA
7 Posts

Posted - Mar 31 2017 :  15:30:47  Show Profile  Reply
Thanks for the reply,
So I guess since these are multi paged tiffs, I would need to use the DBview instead of EnView? To be able to move page to page. I have looked at the database examples and could not get any of them to work with database streams. I could get either EMView to load and not ENView or vice versa. I didn't see a way to get both EMView and ENView to load at the same time and have the next image show on click or via btn.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: