Réponse acceptée

Mohammad Abouali
Mohammad Abouali le 1 Déc 2014

0 votes

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

1 commentaire

Image Analyst
Image Analyst le 1 Déc 2014
By the way, you don't need the last tif argument - it figures it out from the filename.

Connectez-vous pour commenter.

Plus de réponses (1)

Guillaume
Guillaume le 30 Nov 2014

0 votes

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

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by