Export vector path from PSD layer

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
boroda
Posts: 3
Joined: 2011-03-16T12:12:50-07:00
Authentication code: 8675308

Export vector path from PSD layer

Post by boroda »

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?
giraudbr
Posts: 1
Joined: 2014-08-07T12:35:11-07:00
Authentication code: 6789

Re: Export vector path from PSD layer

Post by giraudbr »

Hello,

I have the same need. Separate PSD and obtain 7 layers (for example) and not RGB or CMYK layers. Which command are you using ,please. I could only get the 3 RGN layers

Thanks
Post Reply