title: How to convert a PDF to Bitmap (rasterized) in C++ (without .NET)
body: <p>How can I convert a PDF to a bitmap (as in an array of pixels, not the .bmp file format) using C++ in a way that will work on both Mac and Windows? On Mac I may be able to use CoreGraphics to do it, but that doesn't give me a windows solution. I have found numerous libraries that claim to do this that require .NET, but that is not an option either.</p>
  
  <p>I need to:</p>
  
  <ul>
  <li>Support multiple page PDFs and get a bitmap for each image that I can process</li>
  <li>Do this on both Windows and Mac. I have a solution on Mac, so worst case a Windows-only solution would be acceptable.</li>
  <li>Not be tied to a GPL license</li>
  <li>Keep the size as small as possible; this is being used from a browser plugin, so calling external applications or having large dependencies would be significant disadvantages.</li>
  </ul>
  
  <p>Any ideas?</p>