Improving the image quality
이전 댓글 표시
Hi guys
I have a problem with the image quality, when i save the result as .jpg, the quality is reduced, please help me, how can I solve it ?
댓글 수: 4
Ameer Hamza
2020년 10월 8일
Which function are you using? Are you saving an image or a figure() window?
Niloufar Baba adam
2020년 10월 8일
Walter Roberson
2020년 10월 8일
편집: Walter Roberson
2020년 10월 8일
If you use print() instead of saveas(), then you can give a resolution by using a '-r' option. For example,
set(gcf,'PaperPositionMode','auto')
print('YourFileName.jpg','-djpeg','-r0') %corrected
which would print at screen resolution.
Niloufar Baba adam
2020년 10월 8일
채택된 답변
추가 답변 (1개)
Image Analyst
2020년 10월 8일
0 개 추천
Try using exportgraphics().
Save the file as a PNG format file instead of JPEG to avoid lossy compression artifacts.
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!