How to export and import images while maintaining the resolution?

1 visualización (últimos 30 días)
Hi there
I wish to export a figure with a given pixel resolution (i.e. Matrix size) to a format understood by Photoshop, perform a few basic changes, and import it again (using f.ex. imread), such that it has the same resolution upon re-import. Currently when I export a figure using print, imwrite or export_fig the figure returns with slightly less resolution upon import.
Does anyone know how to fix this?
Thanks in advance!

Respuestas (1)

Jakob Sievers
Jakob Sievers el 8 de Mayo de 2013
If anyone else was wondering: By chance, I just stumbled across a solution to this myself, when I read this recent blog on lossy/lossless image exporting:
Cheers

Categorías

Más información sobre Low-Level File I/O 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