|
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.
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 |
- [iText-questions] JPedal undocumented goody Bill Ensley
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
- Re: [iText-questions] JPedal undocumented goody Aaron J Weber
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
- RE: [iText-questions] JPedal undocumented goody Bill Ensley
