Saving an image in matlab with same dimension (250 x 250)

5 views (last 30 days)
While saving an image in matlab using .tif or .jpg or etc etc extensions when i try to read that file using imread option the dimensions are changed.
Example:-
In matlab a figure shows dimension of (250 x 250) i saved it using .png or etc etc next when i tried to read that file for furthur implementation the dimensions are changed to (1364 x 1246) so
HOW TO MAINTAIN THE IMAGES WITH SAME DIMENSION (250 x 250)???
  5 Comments

Sign in to comment.

Answers (1)

Ingrid
Ingrid on 8 Apr 2015
do you know this submission on the matlab file exchange
it is a very good function to tackle these kind of problems and I always use it to save figures instead of the built-in options

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!