Save figure as jpg with 600dpi
Afficher commentaires plus anciens
Hi all,
I am trying to save some figures through coding, in jpg format and 600dpi.
Hovewer I have tried these, but still getting error (Matlab version 2019a)
saveas('figure.jpg')
print(gcf,'figure.jpg','-jpg','-r600');
thanks in advance
1 commentaire
Jan
le 4 Sep 2019
Whenever you mention an error in the forum, post a copy of the complete message.
Réponse acceptée
Plus de réponses (1)
Fabio Freschi
le 4 Sep 2019
0 votes
In print command, for jpg images, the flag is '-djpeg'
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!