Thread: Create pdf
View Single Post
Old 09-12-2009, 07:06 PM   #10 (permalink)
Randy
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default

Alright, in my pm said i'd be busy all day which is true but im taking a break right now and found out what you have to do.

you have to use the pdf_open_image_file first to open the image file then you use the pdf_fit_image.

PHP Code:
pdf_open_image_file($pdf$imagetype$filename$string$intparam); 
variables are defined in order below:
resource, imagetype (gif, jpg, png, etc..), name of image, string type, int

can't really explain much cause you basiccaly just stick that in between the information given above as far as i can tell, plus i have never input an image im running with the php manual.
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote