Hi,
I am using a similar snippet of code to export a layout to PNG format. https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Layouts#export-a-map-frame-to-jpg.
When I export the layout to JPEG the bit depth is 24 with following setting
JPEGColorMode = JPEGColorMode.TwentyFourBitTrueColor
whereas when I export it to PNG with same setting(ColorMode instead of JPEGColorMode) would export an image with a bit depth '32'.
How can I export a layout to a 24 bit PNG ?
Thanks,
Sai