简体   繁体   中英

How to export svg from pixijs

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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM