1.Open a PSD and create a new image instance.
2.Create a new group and copy the old LayerMask the new group.
3.Put some pixels in the group
4. Save to PSD, PNG, JPG
PSD version has opening error in Photoshop. PS ask to correct and after correction, visual seems correct.
PNG version is corrupted
JPG version is missing Mask data.
There are so many bugs in this SDK. I am only trying to write simple program and already reported like 6 bugs so far not to mention I still found some that don’t really affecting me and I don’t brother to report.
MaskTest.zip (19.6 KB)