how to save size when saving a matlab figure
2 views (last 30 days)
Show older comments
hi
i have a gray scale matix size 640X480. i used a imshow() command and i get the image om matlab window 640X480. but when i'm try to save the image (as a jpeg or other format) i get a different size of image..
what do i need to do to save the image the same size as the matrix (640X480)?
0 Comments
Answers (1)
Image Analyst
on 6 Jan 2014
You don't. You get the same size laterally (# of rows & columns). If you think you don't then prove it with a small script to demonstrate that. Be aware that the size on the disk may not be the same number of bytes as 640 times 480 because of compression that may take place plus the addition of header information.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!