psd
psd copied to clipboard
Unable to extract raw layer pixel data
Thank you for building this excellent library!
For my use case, I'm trying to get layer data WITHOUT any filter or effect applied to it. But it looks like filters are applied by default. I tried the following (and all other combinations), but Gaussian Blur and Curves filters on the layer are applied by default:
// Extract the pixel data of a layer, without any effects layerPixelData = await layer.composite(false);
I also tried reading directly from imageData, but that again seems to have the filters baked into the layer data. It would be nice to be able to see the layer data without filters, and to have filters available elsewhere that I can apply/adjust myself.
Best, Tim