采纳的回答

I=imread('image.png');
imwrite(I,'image.tif','tif');

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

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by