Howdy...

Do you know if you can use PHP to create an EPS file???
I know you can create a bitmap file but what about a vector file like EPS file???
Is there any library that I can use to do that???

For example, there is a string that says 'Hello' and the font color/size/type is set, and I want to create an EPS file out of that information...

Thank you...

CyanBlue

    Never heard of EPS, but you might get somethign out of the ming library. Its meant for creting flash, and Im aware flash can export vector graphics.

      naaa... JPG/GIF/WBMP/PNG can be created but getimagesize(), which doesn't require gd doesn't even support eps.

      SWF might be the closest you'll get.

        Just the answer that I did not want to hear... :queasy: :bemused:
        But I guess that's where I am going to be then...

        Thanks, guys, for the help... Appreciate it... 🙂

          Encapsulated PostScript is a text file format. I presume there's some documentation floating around about the format (try Adobe's web site). Once you've read up on that, it's just a matter of writing a text file with the appropriate Postscript commands.

          But if you're after a vector file format, and you don't really care about exactly which format you use, you might also consider using SVG instead.

            Write a Reply...