Clear Filters
Clear Filters

Saved Image Quality - Command line versus GUI

3 views (last 30 days)
When I save .png images, the quality is noticeably better if I use the GUI. How can I get the same quality image using the command line Matlab?
matlab -nodesktop -nodisplay -r "script_name"
My code to save the figure is
print('-dpng','-r150',frame_file);
Thanks!

Answers (0)

Categories

Find more on Startup and Shutdown 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!