I find it tremendously frustrating that so many people are creating this problem for themselves.<p>Anything that needs to be data should be data, not images. Except for some very specific cases, you're not doing anybody any favors by outputting PDF. That format is a data black hole. It allows you to transmit very well-formatted output, but it absolutely <i>stops</i> you from reliably <i>using</i> anything in that content.<p>I beg you all: if it's anything that contains data, or really, if it's anything for which layout and formatting is not absolutely critical, please don't use PDF. Send data as data.