ArcPy ExportToPDF does not export image (TIF)

Discussion created by TatianaTen on Sep 14, 2011
Latest reply on Sep 26, 2011 by TatianaTen
Hi all,

I'm having troubles with exporting the map document with tif image to PDF using the python script. The dataframe with map gets exported, but the image is dropped during the process.
It works fine with small resolution parameter, but in my case I need to produce 660dpi and without any compression. It also works if I run the Export Map from the ArcMap, but not if I run the script from Arc or GPTask.
The system I'm running on is Win 2003, 4Gb RAM, 2 CPUs

arcpy.mapping.ExportToPDF(mapDoc, str(output_path), resolution=660,
                                  colorspace='CMYK', image_compression='NONE',

Please, help as I need this urgently....