How to export and import images while maintaining the resolution?

1 Ansicht (letzte 30 Tage)
Jakob Sievers
Jakob Sievers am 8 Apr. 2013
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!

Antworten (1)

Jakob Sievers
Jakob Sievers am 8 Mai 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

Kategorien

Mehr zu Low-Level File I/O finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by