Inserting an Image Blob to PDF

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
inor.y
Forum Newbie
Posts: 6
Joined: Fri Nov 21, 2003 5:42 am
Location: Philippines
Contact:

Inserting an Image Blob to PDF

Post by inor.y »

Hello Guys,

I have a problem in putting an image blob from MySql database to a PDF document usng PDF lib

How do I access the image stored in the database to be inserted in a PDF document.

I have been going circles.

Please help!!!!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

uh, select (hint) the blob, tell PDFlib to add a new image. Once you can pull the blob out, read this page's user comments for some details on importing images into the pdf.
inor.y
Forum Newbie
Posts: 6
Joined: Fri Nov 21, 2003 5:42 am
Location: Philippines
Contact:

Inserting an Image Blob to PDF

Post by inor.y »

I know how to view image from a blob, but creating an output file from the database, I haven't tried, can u help on this, the table is main, and the fieldname i use is imagedata for the blob.
Post Reply