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

조회 수: 74 (최근 30일)
chetan sagarnal
chetan sagarnal 2013년 2월 15일
댓글: Walter Roberson 2017년 3월 31일
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 .

답변 (3개)

Jan
Jan 2013년 2월 15일
편집: Jan 2013년 2월 15일
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');

Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013년 2월 15일
Use imwrite command to write images in the required format.

Fatma Buharoon
Fatma Buharoon 2016년 4월 11일
but it says: Error using imwrite Too many output arguments. So how to fix it??
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 4월 11일
imwrite() does not return anything. You cannot assign the result of imwrite() to anything.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by