How to prevent conflict between imwrite and Windows file browser?
1 view (last 30 days)
Show older comments
Valentin Magidson
on 12 Nov 2015
Answered: Walter Roberson
on 12 Nov 2015
I'm writing very long tiff image sequence using imwrite in for loop, and everything is fine if no file browser window is opened in Windows. However, when it is, every second time I'm getting writing error, "do not have permission" to write. It seems that Windows is grabbing this file to gather information, while temporary making it "read only". Is there any way around? Maybe, to write whole sequence with one function, and not image by image? It would also solve writing time problem, which is in about a minute for a few thousands of slices.
0 Comments
Accepted Answer
Walter Roberson
on 12 Nov 2015
If you are creating a non-trivial tiff file then I recommend using the Tiff class instead of imwrite()
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!