基于JavaScript或PHP的WYSIWYG矢量图像编辑器

For a PHP based site of a client, I'm looking for a vector based image editor that allows:

  • end user creation of vectored images consisting of objects
  • supports upload of bitmap images to be used as objects inside the vector image
  • supports adding text objects to add to the vector image, and change properties (font name, font style, font size) of the text objects
  • preferably supports layering or grouping of objects inside the vector image
  • integrates nicely with a PHP based site (so a PHP or JavaScript library is preferred)
  • can store the vector image in SVG, EPS or PDF

Both commercial and FOSS solutions are OK.

Any idea where to find such a library?

--jeroen

According to Wikipedia, SVG-edit is one.

I've done some crawling for such tools as well in Open Source.

I've found pieces, with some extra efforts you can maybe make some glue or recode with inspiration:

Nice 'imprecise-line-drawing' editor, but fonts are handed via ajax calls: http://zwibbler.com/ (png/pdf/svg save)

A library to handle fonts in javascript, need some work to really use it as an external lib http://typeface.neocracy.org/ and check http://cufon.shoqolate.com/generate/ & http://www.netzgesta.de/dev/text/ as well.