MergeLayerTo Method

Hi, I tried to merge a layer into another. But after they merge, the result looks weird, very different from what looks like in my photoshop software. clippingmasktest.zip (52.6 KB)
background.png (13.8 KB) (export by MergeLayerTo Method, weird)
background.png (13.7 KB) (in photoshop)

using (PsdImage psdImage = (PsdImage)Aspose.PSD.Image.Load(psdpath))
{
PsdImage duplicatePSD = psdImage;
for (int i = 0; i < psdImage.Layers.Length; i++)
{
Layer _layer = psdImage.Layers[i];

                Console.WriteLine(_layer.Name, _layer.Clipping);
                if (_layer.Clipping == 1)
                {
                    _layer.MergeLayerTo(psdImage.Layers[i - 1]);
                    exportTexture(psdImage.Layers[i - 1]);
                }           
            }
            }

@mcjj23

After observing the improper merging of two layers in provided image, I have created a ticket with ID PSDNET-750 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.