The following code:
import subprocess
import PythonMagick
subprocess.run(["convert","rose:","test.pnm"])
print(PythonMagick.Image("test.pnm").resolutionUnits())
produces the error: TypeError: No to_python (by-value) converter found for C++ type: MagickCore::ResolutionType
How can I get the resolution units of an image using PythonMagick?
This is a foul hack and doesn't really answer my question:
I'd love a better answer.