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.
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.
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.