How to export and import images while maintaining the resolution?

1 次查看(过去 30 天)
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!

回答(1 个)

Jakob Sievers
Jakob Sievers 2013-5-8
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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by