フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

when am converting matlab figure in to jpg its size is increased a lot can anyone help to resolve the problem ,why is the size incresing

5 ビュー (過去 30 日間)
juveria fatima
juveria fatima 2018 年 4 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
here is the code am using to convert matlab figure in to jpg format and results are also attached please any one help
figs = openfig('h.fig');
for K = 1 : length(figs)
filename = 'h_dec.jpg';
saveas(figs(K), filename);
end

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 4 月 10 日
saveas saves at display resolution. If you were had displayed at higher number of pixels than the original resolution then the output is going to be larger than the original.
If you are referring to file size at the same resolution then note that saveas does not know the compression quality setting of the original image and would save with its default quality settings.
  1 件のコメント
juveria fatima
juveria fatima 2018 年 4 月 10 日
what's the solution to this problem if i crop image resolution would be changed
what to do to get the exact size jpg as matlab figure

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by