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

74 次查看(过去 30 天)
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
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??

Community Treasure Hunt

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

Start Hunting!

Translated by