Title: Message
The examples I used come from the JPedal site, I will send you mine later, but I have a deadline to meet right now.
 
-Bill Ensley
Bear Printing


From: Richard Braman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:36 PM
To: 'Bill Ensley'
Subject: RE: [iText-questions] JPedal undocumented goody

do you have some example usage:
-----Original Message-----
From: Bill Ensley [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 6:34 PM
To: [EMAIL PROTECTED]; iText Mail Group
Subject: RE: [iText-questions] JPedal undocumented goody

OK, for all who want the modified PdfDecoder, it is available at:
 
 
The relevent method is
 
PdfDecoder.paintToGraphics2D()
 
-Bill Ensley
Bear Printing


From: Richard Braman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:03 PM
To: 'Bill Ensley'
Subject: RE: [iText-questions] JPedal undocumented goody

I would like to see it.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Ensley
Sent: Thursday, February 16, 2006 4:17 PM
To: iText Mail Group
Subject: [iText-questions] JPedal undocumented goody

Hello All!

Yesterday I helped someone figure out how to get images from a PDF using JPedal and not turn out grainy.
 
After doing that I stuck around in JPedal and did some playing and found a neat trick that I wanted to pass on To this Mail Group.
 
As you know, JPedal can create a fairly passable preview image of a PDF, but with a little fiddling with the PdfDecoder class
 
I was able to add a method that will take any Graphics2D object and paint to it.  I passed in a iText PdfGraphics2D Object and
 
was pleasantly surprised how well the final PDF turned out. 
 
Using Batik, I was also able to pass an SVGGraphics2D Object and convert a PDF into and SVG file. 
 
 
I realize this has almost no relevance to iText, but I thought it was neat and wanted to share it.
 
If anyone want's the modified PdfDecoder for JPedal, I will happily send it along.

Bill Ensley
Phone: 503.244.4738
Fax: 503.244.5235


P.S. If you aren't able to open the photo proof,
you may not have Adobe Acrobat Reader. You can download it for free from:
http://www.adobe.com/products/acrobat/readstep2.html

Reply via email to