Export vector path from PSD layer
Posted: 2011-03-30T05:20:20-07:00
Hello everyone,
I am writing the utility that export separate PSD layers from PSD file to PNG and compress them later into big texture atlas.
Previously our toolchain used Photoshop and it JavaScript API to perform export operation and it was very slow.
Right now it's working perfectly using ImageMagick, and it runs much faster. (1 minute instead of 30 minutes
Big thanks to developers of ImageMagick.
Now my question:
As part of previous toolchain we had ability to export vector paths from PSD layers.
Is it possible to detect which Photoshop layer actually has vector path (or vector mask i do not know how to call it correctly) and get this path as array of points to save them in vector form?
I am writing the utility that export separate PSD layers from PSD file to PNG and compress them later into big texture atlas.
Previously our toolchain used Photoshop and it JavaScript API to perform export operation and it was very slow.
Right now it's working perfectly using ImageMagick, and it runs much faster. (1 minute instead of 30 minutes
Big thanks to developers of ImageMagick.
Now my question:
As part of previous toolchain we had ability to export vector paths from PSD layers.
Is it possible to detect which Photoshop layer actually has vector path (or vector mask i do not know how to call it correctly) and get this path as array of points to save them in vector form?