How can i change image file format from .jpg to .tiff?

53 vues (au cours des 30 derniers jours)
chetan sagarnal
chetan sagarnal le 15 Fév 2013
Commenté : Walter Roberson le 31 Mar 2017
I am coding for image transformation. I want to convert file format of image from JPEG to TIFF or PNG and viceversa. so pls help me in command or by program code .

Réponses (3)

Jan
Jan le 15 Fév 2013
Modifié(e) : Jan le 15 Fév 2013
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');
  2 commentaires
venkata ravi vusa
venkata ravi vusa le 31 Mar 2017
How can we do that by using loop instead of "IMWRITE" command in MATLAB

Connectez-vous pour commenter.


Sabarinathan Vadivelu
Sabarinathan Vadivelu le 15 Fév 2013
Use imwrite command to write images in the required format.

Fatma Buharoon
Fatma Buharoon le 11 Avr 2016
but it says: Error using imwrite Too many output arguments. So how to fix it??
  1 commentaire
Walter Roberson
Walter Roberson le 11 Avr 2016
imwrite() does not return anything. You cannot assign the result of imwrite() to anything.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by