title: Images are not loaded into PDF using VB6 with mjwPDF class
body: <p>I am using a <code>VB6</code> class named <code>mjwPDF.cls</code> and trying to parse some images into <code>PDF</code> document.
  However it doesn't display the images and Adobe gives "pdf broken" messages. </p>
  
  <p>Here what I've done (basicly):</p>
  
  <pre><code>Dim objPDF As mjwPDF
  
  Private Sub blabla()
      Set objPDF = New mjwPDF
      With objPDF
          .PDFTitle = "My PDF Document"
          .PDFFileName = 'MyFileFullPath
          .PDFLoadAfm = App.Path &amp; "\Fonts"
          .PDFSetLayoutMode = LAYOUT_DEFAULT
          .PDFFormatPage = FORMAT_A4
          .PDFOrientation = ORIENT_PORTRAIT
          .PDFSetUnit = UNIT_PT
          .PDFView = False
          .PDFBeginDoc
          .PDFSetFont FONT_TIMES, 5, FONT_NORMAL
          .PDFSetTextColor = vbBlack
          .PDFUseOutlines = True
          .PDFTextOut "Something bla bla bla.."
          .PDFImage 'MyImageFullPath.jpg, x + 15, y + 15, 100, 100
          .PDFTextOut "Something bla bla bla.."
          .PDFEndPage
          .PDFEndDoc
      End With
  End Sub
  </code></pre>
  
  <p>Here is the class: <a href="http://trac.assembla.com/bNo460JIar3yLWab7jnrAJ/browser/mjwPDF.cls?rev=18" rel="nofollow">mjwPDF.cls</a></p>