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

74 Ansichten (letzte 30 Tage)
chetan sagarnal
chetan sagarnal am 15 Feb. 2013
Kommentiert: Walter Roberson am 31 Mär. 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 .

Antworten (3)

Jan
Jan am 15 Feb. 2013
Bearbeitet: Jan am 15 Feb. 2013
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');

Sabarinathan Vadivelu
Sabarinathan Vadivelu am 15 Feb. 2013
Use imwrite command to write images in the required format.

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by