Effacer les filtres
Effacer les filtres

How can I save a heavy image?

5 vues (au cours des 30 derniers jours)
Ricardo Sampaio
Ricardo Sampaio le 9 Oct 2015
Commenté : Thorsten le 9 Oct 2015
I'm trying to either "save as", "export" or "copy figure" a heavy image (1201x1201) as .jpg. When I use both "save as" or "export", I only get a blank plot with the axis on. And when I use "copy figure" it doesn't copy anything so I can't paste anything. I've also tried to use the saveas and print functions, but none of them worked and keeps giving me the blank image. However, everything works completely fine when I try it for a simple and lighter image. What should I do?

Réponse acceptée

Thorsten
Thorsten le 9 Oct 2015
Use imwrite.

Plus de réponses (1)

Ricardo Sampaio
Ricardo Sampaio le 9 Oct 2015
Not the best resolution, but worked. Thank you!
  1 commentaire
Thorsten
Thorsten le 9 Oct 2015
imwrite writes your data as an image. If you need a better resolution you need a larger image. Or you should save to a format that does not compress the image, i.e., png or tiff, but not jpg.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by