matlab figure saving dim
Mostrar comentarios más antiguos
has anyone observed that if a matlab figure is saved as a jpg, its dimension in the jpg changes. is this true?
I have two images and the description is below :
img A -> .fig size = 638x816x3 || .jpg size = 733x988x3
img B -> .fig size = 638x816x3 || .jpg size = 963x1904x3
it seems that there is some scaling done while saving images as jpg. Further, the scaling doesn't seem to be generalized since the sizes of my .fig files are the same but the output jpgs are different.
Pls explain how to save with same dimensions.
2 comentarios
Ameer Hamza
el 22 de Mayo de 2020
How do you determine the size of a file? fig files are not raster images, so they are not stored in the form of pixels. Also, what function are you using to save .jpeg files?
Anmol Pardeshi
el 22 de Mayo de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Printing and Saving en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!