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

74 ビュー (過去 30 日間)
chetan sagarnal
chetan sagarnal 2013 年 2 月 15 日
コメント済み: Walter Roberson 2017 年 3 月 31 日
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');
  2 件のコメント
venkata ravi vusa
venkata ravi vusa 2017 年 3 月 31 日
How can we do that by using loop instead of "IMWRITE" command in MATLAB

サインインしてコメントする。


Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013 年 2 月 15 日
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??
  1 件のコメント
Walter Roberson
Walter Roberson 2016 年 4 月 11 日
imwrite() does not return anything. You cannot assign the result of imwrite() to anything.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by