Is the .tiff structure in Matlab 2020a and Matlab 2020b/2021 different?
1 view (last 30 days)
Show older comments
Dear all,
I have got the following problem: I wrote a Matlab-Scritp that saves my processed image as a tiff file.
Afterwards I want to load it into a different sofware.
If I run my script with Matlab 2020a, everything works fine. Using any older Matlab version, the other software is not able to read it anymore.
Do you know whether there is anything changed during the version in the way the tiff file is saved?
How can I save my tiff file using the newest Matlab version getting the "older tiff-format"?
Thank you for your help!
0 Comments
Accepted Answer
Bruno Luong
on 5 Apr 2022
Moved: Dyuman Joshi
on 16 Jan 2024
MATLAB has several ways to write tiff file, imwrite, print, Tiff class, etc... Which function are upu using and what type the data image?
6 Comments
Bruno Luong
on 6 Apr 2022
Moved: Dyuman Joshi
on 16 Jan 2024
It seems imwrite Matlab 2021b use an update tiff library that your other SW cannot deal with.
I'm afraid you are stuck with the older MATLAB version, unless some authority person in TMW know a work around.
More Answers (1)
Siraj
on 16 Jan 2024
Edited: Siraj
on 16 Jan 2024
Hi!
I understand that you've been using a MATLAB script with version R2020a to process images and save them as TIFF files, and this works well when you import the images into another program. However, it seems that you're encountering issues when you use newer versions of MATLAB, like R2020b or R2021a; the other software can't read the images.
It appears that the issue you're experiencing may be related to the version of LibTIFF that MATLAB is using. In MATLAB R2020a, the supported LibTIFF version is 4.0.10, while in MATLAB R2020b and R2021a, the version has been updated to 4.1.0. You can confirm this information through the following MATLAB documentation links:
MATLAB typically binds to a specific version of LibTIFF for each release and doesn't offer the flexibility to change it. A practical approach would be to identify the versions of LibTIFF that are supported by the other software you're using and match it with the corresponding MATLAB version.
If the information provided doesn't quite solve your issue, or if there's something I've misunderstood, you could reach out to MathWorks using the following link.
Hope this helps.
0 Comments
See Also
Categories
Find more on Image Data 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!