Questions tagged [psd.js]

2 questions
1
vote
0 answers

Get path operation (unite, subtract, exclude, intersect) of a subpath in PSD.js

I'm trying to convert photoshop paths to SVG using PSD.js. Through PSD.js you can get mask data of a layer, and from that data you can get path data of a shape layer. This path data is in the form of Javascript array and conforms to the Photoshop…
1
vote
1 answer

How to convert color object from parsed PSD into usable RGBA

I'm parsing a PSD getting normal RGBA values and recently I encountered this strange float color values: { "red": 1.0343483686447144, "green": 0.9487225413322449, "blue": -0.12634865939617157, "alpha": 100, "rgba":…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231