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
 Slow MIO.LoadFromStreamTIFF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tiagosis

Brazil
36 Posts

Posted - Nov 26 2018 :  12:14:57  Show Profile  Reply
Hello, I'm using imageenmview to display a tif image with memoryStream via method: MIO.LoadFromStreamTIFF. images with size 75mb or larger in size the delay is extremely large, and in some cases cause out of memory. What can I do to improve this?

tiago

wesleybobato

Brazil
367 Posts

Posted - Nov 26 2018 :  19:26:14  Show Profile  Reply
Hello Tiago

The TImageEnMView is for displaying thumbnails.

See more details
https://www.imageen.com/help/TImageEnMView.StoreType.html

Kind regards.
Go to Top of Page

xequte

38616 Posts

Posted - Nov 26 2018 :  22:15:12  Show Profile  Reply
Hi Tiago

What version of ImageEn are you using? Can you upload your TIFF file somewhere so we can test it here?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - Nov 28 2018 :  08:13:16  Show Profile  Reply
Hello, I'm using version 5.2.0

image available at: https://mega.nz/#!6xAHTKyB!7kPZ_KdNm165RjlU0bYG9J9Epkke3xwdcXfxUalH5K0

tiago
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Nov 28 2018 :  09:37:48  Show Profile  Reply
Hello Tiago

Did not it work to change the StoreType property?

Do you need to load several large TIFF files into your project? then the StoreType property should be changed to ietThumb.

Do you need to manipulate these images, or just display on the screen?
Please provide more details to help you find a way out.

Kind regards.
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - Nov 28 2018 :  10:03:40  Show Profile  Reply
your suggestion improves performance but destroys the quality of the image to the point of being unreadable

tiago
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Nov 28 2018 :  13:01:47  Show Profile  Reply
Hello Tiago

To solve the quality problem please see below.

https://www.imageen.com/help/TImageEnMView.ThumbnailDisplayFilter.html
https://www.imageen.com/help/TImageEnMView.ThumbnailResampleFilter.html

Kind regards.
Go to Top of Page

xequte

38616 Posts

Posted - Nov 28 2018 :  15:05:25  Show Profile  Reply
Hi Tiago

What are you looking to do? Are you displaying thumbnails of the TIFF, and then showing a full size version of the TIFF elsewhere? If so, for performance you should use StoreType ietThumb and then load the full quality image into the TImageEnMView:

https://www.imageen.com/help/TIOParams.ImageIndex.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: