change dpi from auto to 300 using matlab code?
6 views (last 30 days)
Show older comments
Ramesh Bala on 20 Jun 2018
Is there any code to change the DPI from auto mode to 300 so that It can be added to the script directly,without manually going and changing in the picture settings?
Rik on 22 Jun 2018
This code should work. I recognize the -k switch from a similar context, but the doc indicates that you should use -r. (I use sprintf so you can mistakenly enter a decimal res, Matlab will round it anyway during the writing of the image)
res = 300;
More Answers (0)
Find more on Image Quality 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!