[iText-questions] new pdf graphics file question

2010-03-20 Thread Brigit Ananya
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#174; 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
iText-questions@lists.sourceforge.net
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/


Re: [iText-questions] new pdf graphics file question

2010-03-20 Thread Leonard Rosenthol
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:bri...@ananya.com] 
Sent: Saturday, March 20, 2010 10:34 PM
To: itext-questions@lists.sourceforge.net
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#174; 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
iText-questions@lists.sourceforge.net
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#174; 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
iText-questions@lists.sourceforge.net
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/