How do I save an image at a specific resolution?
9 views (last 30 days)
Show older comments
Joshua
on 14 Dec 2013
Answered: Palguna Gopireddy
on 27 Nov 2022
My MatLab knowledge is terrible. I have made some figures. I want to save them at a very high resolution as a .tiff. How can I do this? I have tried using the
imwrite
print -r
functions, but this doesn't seem to work.
0 Comments
Accepted Answer
Image Analyst
on 14 Dec 2013
Do you want to save only the image, as an image? Or do you want to save the figure as an image? If it's just the image, that you may have displayed with imshow(), image(), or imagesc(), then you can use imwrite().
If you want to save the figure, because you have annotation (arrows, text, lines, polygons) in the overlay above the image, or you want to show axes tick marks and toolbars, then you can use saveas(). Or better than saveas() is export_fig(). See this page to download export_fig: http://www.mathworks.com/matlabcentral/fileexchange/
2 Comments
More Answers (3)
PAVITHRA A
on 4 Sep 2016
hi...i heed to get high resolution and low resolution of image from LBP processed image.how can I do this??can anybody help me...
0 Comments
Palguna Gopireddy
on 27 Nov 2022
See this link.
https://in.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html
0 Comments
See Also
Categories
Find more on Printing and Saving 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!