How can i change image file format from .jpg to .tiff?
23 views (last 30 days)
Show older comments
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 .
0 Comments
Answers (3)
Jan
on 15 Feb 2013
Edited: Jan
on 15 Feb 2013
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');
2 Comments
venkata ravi vusa
on 31 Mar 2017
How can we do that by using loop instead of "IMWRITE" command in MATLAB
Sabarinathan Vadivelu
on 15 Feb 2013
Use imwrite command to write images in the required format.
0 Comments
Fatma Buharoon
on 11 Apr 2016
but it says: Error using imwrite Too many output arguments. So how to fix it??
1 Comment
Walter Roberson
on 11 Apr 2016
imwrite() does not return anything. You cannot assign the result of imwrite() to anything.
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!