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