I am using Stata to generate reports that are in Rich Text Format with embedded links to encapsulated meta file (EMF) images. Most of the images are Stata graph files (the others are images that are common to all reports). I then use Adobe to convert the reports (n = 1500) into PDF files, the end product. Everything works fine, but the computing overhead is high: it takes more than 12 hours for Stata to write the reports and 24 hours for Adobe to convert them to PDF format. The bottleneck seems to be graph files - when I originally wrote the program, there were only a few graphs per report, and everything ran in a few hours, now there are dozens of graphs for each report. And the number will keep growing, until it takes a week to run a monthly report.
So - since I'm packing many graphs per page, I'm thinking I could reduce the resolution without loss of quality, but with gains in processing speed. However, I can't find any documentation on changing graph resolution, except through resetting the size via -xsize()- and/or -ysize(). I don't want to change the size of my graphs, that would wreak havoc on the layout. Is there another way to reduce the resolution? I know that eg TIF files can have lower resolution, but Adobe doesn't insert TIF files on the fly when parsing RTF. And yes, if I had time to for a do over I would use TeX, but I don't.
Thanks for any tips,
Jeph
So - since I'm packing many graphs per page, I'm thinking I could reduce the resolution without loss of quality, but with gains in processing speed. However, I can't find any documentation on changing graph resolution, except through resetting the size via -xsize()- and/or -ysize(). I don't want to change the size of my graphs, that would wreak havoc on the layout. Is there another way to reduce the resolution? I know that eg TIF files can have lower resolution, but Adobe doesn't insert TIF files on the fly when parsing RTF. And yes, if I had time to for a do over I would use TeX, but I don't.
Thanks for any tips,
Jeph
Comment