PDA

View Full Version : Need help with EPS code



iceblueflame
April 20th, 2007, 02:25 AM
Hi all

i'm developing an application in flash that generates EPS data for geometric shapes. I've almost no knowledge of EPS but i did find some code online for actionscript that converts square, circle, ellipse into EPS.

So now, all i need is the code to draw a Star and an Arrow in EPS. An arrow, as in, not a line with a > at the end, but a rectangle with a triangle at the end kind..

Anyone know anything about this?? any links? please help..

Oh and i also need to know the code to fill the specified color into the shapes..

hybrid101
April 20th, 2007, 07:41 AM
i have to ask first...what is EPS?

iceblueflame
April 20th, 2007, 08:45 AM
Oh well, EPS stands for Encapsulated PostScript. Its the vector format developed by Adobe to save files created by its softwares such as illustrator..
Most printing companies prefer that you give them files in EPS format to print..

Here's more info:
http://www.prepressure.com/formats/eps/fileformat.htm

hybrid101
April 21st, 2007, 10:51 AM
is it something like lineTo and sort?

iceblueflame
April 21st, 2007, 11:32 AM
Umm well, i guess so. But it has its own syntax. Though the syntax is kinda intuitive. If u wanna see what it looks like, u could open a file u created with adobe illustrator in notepad. You'll see the eps code.
Or u could see this:
http://lab.artificialcolors.com/downloads/livepreviews/flash2EPS.swf

What i need is something very similar but my shapes are more complex. And i have absolutely no idea whatsoever about eps syntax. so i cant even begin to comprehend it.

hybrid101
April 23rd, 2007, 05:18 AM
cool example, but i have no idea how to do that dude, sorry;)

Pasquale
April 23rd, 2007, 08:18 AM
cool example, but i have no idea how to do that dude, sorry;)
:lol: the most pointless 3 consecutive posts ever!
*high five*

hehe.

Yeah about the eps thing.. hmmm. Well you could use some trippy thing with imagemagix/gd to write into psds and ai files ( I think..) so Im sure you can do it with an eps.

Colourlovers looks like it does something similar with the downloadable ai files.

iceblueflame
April 23rd, 2007, 08:27 AM
Umm... imagemagix/gd?? what is that? and i dont necessarily need eps. i can use any vector format..
i just thought eps would be the simplest... so whats imagemagix/gd?