Free Support Forum - aspose.com

Effect lost when save certain layer

When I try to export layer with effects, it fails to contain the effects. I’m wondering how to fix this issue. The PSD I used is as attached.effectlost.zip (11.7 KB)

using (PsdImage psdImage = (PsdImage)Aspose.PSD.Image.Load(psdpath))
{
var pngOptions = new PngOptions();
pngOptions.ColorType = PngColorType.TruecolorWithAlpha;

            // Convert and save the layer to PNG file format.
            if (psdImage.Layers[0].CanSave(pngOptions))
            {
                try
                {
                    psdImage.Layers[0].Save(destname+"test.png", pngOptions);
                }
                catch (Exception ep)
                {
                    Console.WriteLine(ep);
                }
            }
        }

@mcjj23

After observing the issue, I have opened a ticket with ID PSDNET-746 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.

Is it possible to recognize if there are effects in certain layer? And how to convert a layer to smart object?

@mcjj23

I have appended the requirements in concerned ticket and we will be able to share feedback with you as soon as investigation will be completeed.