psd.js
psd.js copied to clipboard
mask region recoginze error
In PSD, add a mask for a layer, use gradient tool to the mask.

Finally, psd.js only recoginze the area with gradient, not including the pure white area in the mask.

page size 1500x1500 mask region extracted by psd.js is
left: -168
top: 0
width: 1297
height: 1504
another sample
ps

psd.js

page size 1500x1500 mask region extracted by psd.js is
left: -168
top: 0
width: 564
height: 1504
It's not error, just has more complications to save space, involving background fill with layer.mask.defaultColor value.
See example in this comment.