arcpy.mapping - 'ExportToPDF', 'ExportToEPS', and 'DataDrivenPages.exportToPDF' - image_compression needs to default to 'Adaptive'. Also, add 'JPEG' option and control for JPEG quality.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM060435
Submitted
August 24, 2010
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
10.0
Version Fixed
10.0
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Use named arguments like the following.arcpy.mapping.ExportToPDF(mxd, "<a href="file:c://text//out.pdf" target="_blank">c:\\text\\out.pdf</a>", resolution=300, image_compression="LZW")