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

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일

0 개 추천

Use imwrite command to write images in the required format.
Fatma Buharoon
Fatma Buharoon 2016년 4월 11일

0 개 추천

but it says: Error using imwrite Too many output arguments. So how to fix it??

댓글 수: 1

imwrite() does not return anything. You cannot assign the result of imwrite() to anything.

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

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2013년 2월 15일

댓글:

2017년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by