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 .

Respuestas (3)

Jan
Jan el 15 de Feb. de 2013
Editada: Jan el 15 de Feb. de 2013
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');
Sabarinathan Vadivelu
Sabarinathan Vadivelu el 15 de Feb. de 2013

0 votos

Use imwrite command to write images in the required format.
Fatma Buharoon
Fatma Buharoon el 11 de Abr. de 2016

0 votos

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

1 comentario

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

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 15 de Feb. de 2013

Comentada:

el 31 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by