Agamnentzar / ag-psd

Javascript library for reading and writing PSD files
Other
489 stars 66 forks source link

shape fill always with color #166

Closed harelmotro closed 4 months ago

harelmotro commented 5 months ago

Hi, When creating a shape layer in photoshop that has no color as fill (transparent shape that may still have a stroke), I still get vectorFill with a rgb color from readPsd function. I can't find any indication in the layer object that it has no fill color.

Agamnentzar commented 5 months ago

vectorStroke.fillEnabled is the field you're looking for, I know it's weird for fill indicator to be in stroke, but that's just how PSD file is structured XD