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 个)
img = imread('FileName.jpg');
imwrite(img, 'FileName.tiff');
2 个评论
venkata ravi vusa
2017-3-31
How can we do that by using loop instead of "IMWRITE" command in MATLAB
Sabarinathan Vadivelu
2013-2-15
0 个投票
Use imwrite command to write images in the required format.
Fatma Buharoon
2016-4-11
0 个投票
but it says: Error using imwrite Too many output arguments. So how to fix it??
1 个评论
Walter Roberson
2016-4-11
imwrite() does not return anything. You cannot assign the result of imwrite() to anything.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!