You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: