1

Is it possible to render svg from pixie composition? I'm working on a project where I'll draw generative graphics and then I'll have to have them in some vector format because this will go to print. I would be happy to get svg or some other vector format.

The reason I'm doing this with pixie is that I will later use that compositions as animations on a company website.

Robert Longson
  • 118,664
  • 26
  • 252
  • 242
onoxo
  • 153
  • 1
  • 9
  • As others said, it's almost impossible to go from rasterized graphics to SVG. It's extremely easy to go from SVG to rasterized though. So maybe you can restructure your project to use SVG from the start, and rasterize assets for your site, rather than the other way around. – jered Feb 20 '16 at 00:26

2 Answers2

1

Well, you can draw and render SVG data using the pixi-svg-graphics module, but I am pretty sure that you can't export any vector format. That's because pixi.js uses rasterized textures internally, not vector data.

dcode
  • 604
  • 7
  • 10
0

That's not gonna happen pixi is raster based, even above plugin as noted above will only draw vectors on top of raster images.

If you want I can redraw any raster images into vector images, it's not that much work :P

seahorsepip
  • 4,519
  • 1
  • 19
  • 30