Hi, I wasn't trying to use Adobe Illustrator as a PDF editor. I was just trying to make a PDF file that Adobe Illustrator can open as a vector graphics file. And this is possible if I use the technique described in the previous iText In Action manual in the great chapter, Constructing and painting paths.
No, Photoshop doesn't rasterize everything. You can copy a curve in Illustrator and when you paste it into Photoshop, a small window comes up asking you how you want to paste it and allows you to paste it as a Path, which is vector graphics, not raster graphics. Being vector graphics means that you can modify the start and end point and the lengths and directions of the start and end tangent. If Photoshop cannot open a vector graphics file as a path, I would at least like to be able to paste a vector graphics file as a path. So what's the trick to have the small window come up asking you how you want to paste? I really would appreciate an answer to this! Thanks! At 07:53 PM 03/20/10, you wrote: >Adobe Illustrator is NOT a PDF editor and should not be used as >one. If you are simply planning to place the PDF into Illustrator >as part of another graphic, that's fine. > >Try using the lower level APIs in iText for graphic instead of going >through Graphics2D. > >There is no trick to #3 - it is simply not possible. Photoshop will >rasterize ALL vector formats (AI, EPS, PDF) when opening them - it's >how it works. If you want curves/paths, then you need to write >native .psd files. > >Leonard > >-----Original Message----- >From: Brigit Ananya [mailto:[email protected]] >Sent: Saturday, March 20, 2010 10:34 PM >To: [email protected] >Subject: [iText-questions] new pdf graphics file question > >Hi, > >I developed a computer graphics program (www.ananya.com) >that draws curves in a faster and easier way. I would like to >import and export pdf graphics files with other graphics >programs. > >I have a new pdf graphics file question (question 1)), and >since I still have two unanswered pdf graphics file questions, >I post them again (questions 2) & 3)): > >1) Is it possible to write a pdf graphics file of curves so that >Adobe Illustrator recognizes it as a vector graphics file >(as curves)? It seems that both,createGraphics and >createGraphicsShapes, make a bitmap graphics file. > >2) Is it possible to read the array of CubicCurve2D.Double's >and the stroke and fill information from a pdf graphics file of >curves? > >3) What's the trick to make Adobe Photoshop open a pdf >graphics file of curves as a path? (It at least allows pasting >Illustrator curves as a path.) > >Thanks in advance for any answers! > > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >_______________________________________________ >iText-questions mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/itext-questions > >Buy the iText book: http://www.1t3xt.com/docs/book.php >Check the site with examples before you ask questions: >http://www.1t3xt.info/examples/ >You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >_______________________________________________ >iText-questions mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/itext-questions > >Buy the iText book: http://www.1t3xt.com/docs/book.php >Check the site with examples before you ask questions: >http://www.1t3xt.info/examples/ >You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
