png to tif convertion

16 次查看(过去 30 天)
how can i convert png image into tif image

采纳的回答

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

请先登录,再进行评论。

更多回答(1 个)

Guillaume
Guillaume 2014-11-30
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

类别

Help CenterFile Exchange 中查找有关 Import, Export, and Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by