How can I save a heavy image?

2 views (last 30 days)
Ricardo Sampaio
Ricardo Sampaio on 9 Oct 2015
Commented: Thorsten on 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?

Accepted Answer

Thorsten
Thorsten on 9 Oct 2015
Use imwrite.

More Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!