How to export and import images while maintaining the resolution?

1 visualizzazione (ultimi 30 giorni)
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!

Risposte (1)

Jakob Sievers
Jakob Sievers il 8 Mag 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

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by