Hi Toby, If you are willing to go the Java route, you could use the iText (Lowagie) library to combine the cover PDF with a separate PDF generated from the image (or maybe even the image directly). We use this in some Java code and it works quite well. I think it is a little less resource hungry than other libraries such as FOP.
http://www.lowagie.com/iText/faq.html#template I heard a rumour somewhere that CF uses iText as its PDF engine anyway. Shane On 12/30/06, Toby Tremayne <[EMAIL PROTECTED]> wrote:
Sorry I don't think I'm being clear. I have a pdf of the book cover, and I need to insert a user uploaded image into the cover itself. IE I need to set out a position in the cover pdf, where an image can be dropped in. What I need to do is use cf/java to add the image file to the pdf, and save the result. Make sense? Toby On 30/12/2006, at 15:10 , Steve Onnis wrote: > > All you need to do is make the cover. I am sure you can find some > nice code > to combine 2 PDFS together. Create the cover and add it to the > rest of the > book > > Steve > > -----Original Message----- > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf > Of Toby Tremayne > Sent: Saturday, 30 December 2006 3:03 PM > To: cfaussie@googlegroups.com > Subject: [cfaussie] Re: pdf embedding > > > I'm not entirely sure. > > Basically I have a print quality pdf of a book cover, into which I > need to put a set location for a user uploaded image. The idea is > the book cover pdf needs to be as is, and have the image inserted > into the correct space. Generating the whole thing with > cfdocument is no good as I don't have enough control over the > print settings, bleed etc etc. > > Toby > > On 30/12/2006, at 15:00 , Steve Onnis wrote: > >> >> You could use cfdocument to generate a complete PDF document >> >> Is that an option? >> >> -----Original Message----- >> From: cfaussie@googlegroups.com >> [mailto:[EMAIL PROTECTED] On Behalf >> Of Toby Tremayne >> Sent: Saturday, 30 December 2006 2:57 PM >> To: cfaussie@googlegroups.com >> Subject: [cfaussie] pdf embedding >> >> >> Hi all, >> >> has anyone worked with combining and embedding pdfs through >> cold fusion? Specifically I'm looking to receive an image from >> the user and embed it in a pdf template, showing the user the >> result. I did some work on this kind of thing ages and ages ago >> but it was very hacky back then, using cfexecute and a number of >> other things. I'm googling and experimenting but if anyone has >> prior experience, particularly with newer versions of CF please >> give me a yell. >> >> cheers, >> Toby >> >> >> >> > > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---