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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEmMView - How to load quickly

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graph_man Posted - Apr 05 2015 : 18:20:31
There is tiff file with 200-300 pages.
How to load this file to ImageEmMView quickly?
My result is 30-50 sec :-(

ImageEmMView <-> ImageEnMIO

ImageEnMIO->LoadFromFileAuto(TempFileTiff);

My settings for ImageEmMView:

StoreType = ietThumb;
ThumbnailResampleFilter = rfFastLinear;
ThumbnailDisplayFilter = rfFastLinear;

EnableLoadEXIFThumbnails = true;
EnableImageCaching = false;
(for some reason if EnableImageCaching = true, it's loaded more slowly. Why?)

ImageCacheSize = EnumTIFFIm(FileName);


Thank you.
4   L A T E S T    R E P L I E S    (Newest First)
graph_man Posted - Apr 06 2015 : 12:09:33
Can I use "TImageEnMView.LoadFromFileOnDemand"?
What are the differences?
xequte Posted - Apr 06 2015 : 11:10:36
Hi

It would be:

ImageEnMView1.Clear;
iPageCount := function EnumTIFFIm( sFileName );
for I := 0 to iPageCount - 1 do
  ImageEnMView1.AppendImage( sFileName + IEM_Path_Index_Delimiter + IntToStr( I ));


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Apr 06 2015 : 09:55:56
How to use AppendImage to add all pages from multipage TIFF file?
xequte Posted - Apr 06 2015 : 03:28:49
Hi

Loading a large TIFF with many pages will necessarily be slow if you load it all at once.

You would be better to load individual frames of the TIFF on demand.

See:

http://www.imageen.com/help/TImageEnMView.AppendImage.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com