How can I save a heavy image?

1 visualización (últimos 30 días)
Ricardo Sampaio
Ricardo Sampaio el 9 de Oct. de 2015
Comentada: Thorsten el 9 de Oct. de 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?

Respuesta aceptada

Thorsten
Thorsten el 9 de Oct. de 2015
Use imwrite.

Más respuestas (1)

Ricardo Sampaio
Ricardo Sampaio el 9 de Oct. de 2015
Not the best resolution, but worked. Thank you!
  1 comentario
Thorsten
Thorsten el 9 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by