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!