png to tif convertion

15 views (last 30 days)
Farjana Yeasmin
Farjana Yeasmin on 30 Nov 2014
Commented: Image Analyst on 1 Dec 2014
how can i convert png image into tif image

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 1 Dec 2014
I=imread('image.png');
imwrite(I,'image.tif','tif');
  1 Comment
Image Analyst
Image Analyst on 1 Dec 2014
By the way, you don't need the last tif argument - it figures it out from the filename.

Sign in to comment.

More Answers (1)

Guillaume
Guillaume on 30 Nov 2014
This is one of those cases where matlab is probably not the best tool. There are a numbers of more suited programs for that, irfanview, imagemagick, xnview can all do it and in batch as well.
If you want to do this in matlab, use imread and imwrite

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!