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
It seems that the proper <canvas> element is not available in your environment. Even when you use useImageData: true the library is still using canvas to create ImageData object so it's possible to use layer.imageData to populate <canvas> element. But you can work around that, call this function before any readPsd calls:
initializeCanvas((width,height)=>{thrownewError("not supported");},// not neededundefined,// not needed(width,height)=>({ width, height,data: newUint8ClampedArray(width*height*4),colorSpace: "srgb"}));// this will manually create ImageData object
I tried to read PSD with select options :
getting these errors :
Mostly I think it doesn't have access to a fully featured Canvas in UXP environment . Any way to fix this ?
The text was updated successfully, but these errors were encountered: