필터 지우기
필터 지우기

How to convert .fig to .jpg ? (issues with 'saveas' function)

조회 수: 2 (최근 30일)
Chathu
Chathu 2015년 3월 6일
댓글: Chathu 2015년 3월 9일
I tried 'saveas' function but it reduces the quality of the image(meaning, i do not want to have white borders around the image.I want to get the full image after the conversion.
Here is the code i used:
h=openfig('pic-1.fig');
saveas(h,'pic1.jpg')
Can you please tell me how to get around with this?
Really appreciate your feedback.
  댓글 수: 2
Chathu
Chathu 2015년 3월 9일
Hi Stephen- Thank you so much for directing me to the right direction. It works really well. (plus thank you so much for your wonderful code-Yair Altman) Really appreciate it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by