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
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!