Let me give you an example. For generating the graph, we give the data to one of third party graph generator and it takes care of generating the graph and placing it on the browser. But, that graph is not necessarily stored in the disk untill we do so by right clicking on it and saving.
My question is "How to generate the PDF from this kind of data on the browser?" For your question: My counter-question is: "to do what exactly?" Ans: We need a PDF which is exactly as the browser screen looks. (For reusability and documentation purpose) Hope the problem is understood. Will be expecting some guidelines for this problem. Thanks in advance, Warm Regards, Krishna Prasad V +91 - 9886320543 INDIA > Date: Sat, 03 Mar 2007 10:19:02 +0100 > From: Bruno Lowagie <[EMAIL PROTECTED]> > Subject: Re: [iText-questions] Capturing the "on the fly" data to PDF > To: Post all your questions about iText here > <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Stuart Jansen wrote: > > On Sat, 2007-03-03 at 09:16 +0530, Krishna Prasad V wrote: > >> We are getting the images from one of our application on the fly > >> (which we cannot get the path also, but it will be displayed on the > >> screen). > > You get a byte[], not a file somewhere on disk. > I assume the images are displayed in a browser. > > >> While converting the same document (images/chart/graph's) to PDF only > >> the "on the fly" contents are not converted. > > > Perhaps you should include some none-working example code to illustrate > > exactly what you mean by "convert" and "on the fly". > > Exactly. > If I generate a byte[] and generate a PDF. > The byte[] isn't necessarily in the PDF. > I have to create an object of some kind with the byte[], > then add this object to the PDF in the proper way. > > Your question is probably "what is the proper way?" > My counter-question is: "to do what exactly?" > br, > Bruno > > > > ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
