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
 ReplaceFileTIFF is very slow on a network device

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
rlange Posted - Feb 10 2016 : 05:57:06
I have a TIFF file with 30 MB, 4 pages, compression PackBits.

When i replace the last page, it takes 3 seconds on a local drive and 1 minute on a network drive.
During ReplaceFileTIFF(...) the file size increases some KB every second.

Does anyone have an idea? What can i do to make this faster?

The code:
iev1.IO.Params.TIFF_ImageIndex:=current_index;
iev1.IO.ReplaceFileTIFF(current_file);

Thank you in advance.
Reiner
4   L A T E S T    R E P L I E S    (Newest First)
rlange Posted - Feb 12 2016 : 06:10:27
Thank you so far. I think this is a more common network problem.
xequte Posted - Feb 11 2016 : 19:16:58
Hi Reiner

I cannot reproduce that. I just tested a 1000 page 16MB image. It saved in <1 second locally and 11.5 seconds over a network. Is there anything odd or non-standard with the network?

You could try saving to a temp folder, and then copying to the network drive.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
rlange Posted - Feb 11 2016 : 00:53:35
Hello Nigel,
3 seconds on the local drive is ok.
The problem is, our customer runs the app on a network drive.

To copy the file from c: to the network drive takes < 1 second.
Reiner
xequte Posted - Feb 10 2016 : 17:11:03
Hi Reiner

3 seconds to save a 30MB file does not seem particularly slow. How long does it take to copy the file to your network drive?

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