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 .

Risposte (3)

Jan
Jan il 15 Feb 2013
Modificato: Jan il 15 Feb 2013
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');
Use imwrite command to write images in the required format.
but it says: Error using imwrite Too many output arguments. So how to fix it??

1 Commento

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

Accedi per commentare.

Richiesto:

il 15 Feb 2013

Commentato:

il 31 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by