Skip to main content
September 13, 2016
Question

Creating PDF from Text: Inserting jpg Image

  • September 13, 2016
  • 1 reply
  • 579 views

Hello All,

First Post In the Adobe Forums so please excuse if this is in the wrong forum.

I am trying to create a PDF file from scratch by going through the PDF Specification.  I have had Success with tables, shapes and text; however I cannot seem to get an Image embedded correctly.  I was hoping someone may be able to take a look of the formatting of my PDF and see what is going wrong.  Any other general tips as to the structure would also be welcome.  The PDF file isnt to large and the picture I am trying to embed is 32x32 px jpg with 8 Bits per Component.  My Current Method is to open the jpg as a Binary File and insert the whole Byte stream between the "stream" and "endstream" tags.

I have attached my PDF attempt and the Original jpg on the National Instruments Forum here.

http://forums.ni.com/t5/LabVIEW/PDF-Creation-Inserting-a-jpg-Image/td-p/3345880

Thanks

Craig

    This topic has been closed for replies.

    1 reply

    September 13, 2016

    I have now resolved this issue.

    Thanks

    Craig