I'm having issues with using the exportToTIFF() function in ArcPro. There are 3 relevant parameters: width, height, and resolution.
Width and height are required parameters; they represent "width/height of the export in pixels". I need to export a very high-res image of a layer, but the default resolution is 96dpi. How do I determine the correct resolution? Why ask for the width and height in pixels (which is the resolution), and then have a separate resolution parameter that overrides it?
Code:
# Current Project's view:
mv = aprx.activeView
# Export code:
mv.exportToTIFF(outdir, width = 20000, height = 16000, resolution = 2000)
Output from code: ArcPyTest.png
Desired result: DesiredOutput.png