PDF Generator, requires zlib
Initializes the image_data, width, height and bgcolor
Adds the image to PDF
Calculations XPos
Gets the BITMAP 24 Data
Gets the PDF objects
Returns the Trailer
Returns the X obj ref
Sets the bitmap data.
[Validate]