Saving Matlab figure(Imagesc) to JPG without White borders
103 views (last 30 days)
Show older comments
Commented: Image Analyst on 16 Mar 2021
I am using imagesc to plot color maps in matlab. While saving as JPG and Figuire it gives white space around the image. Is it possible to save without white space?
Image Analyst on 16 Mar 2021
You can ignore the warning. Is white not OK? Why are you having transparent pixels anyway?
More Answers (1)
Image Analyst on 20 Dec 2018
Yes, use imwrite:
Do not save image analysis images as JPG or you'll be sorry. Use PNG.
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!