We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Support for LayerGroup type in PSD

Is there any way to save a LayerGroup type Layer to an Image?


Can you please elaborate your query in more details. Please share desire output along with source file so that we may further investigate to help you out.

When I try to save the Layer, I get an exception:
Current layer can not be exported to raster format. This could be caused the reason: it is grouping layer.

Code used to Save:
If bSuccess Then
Layer.Save(FilePath, ImageOptions)
Catch ex As Exception
End Try
End If

I can cast the Layer as a LayerGroup using the below code:
LayerGroup = CType(Layer, Aspose.PSD.FileFormats.Psd.Layers.LayerGroup)

In the .psd file, there are multiple Layers (Images) in this LayerGroup. I would like to Save this LayerGroup as a SINGLE Image.

Is this possible?


I have worked over your requirements and have created an issue with ID PSDNET-230 in our issue tracking system to further investigate your requirements. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as PSDNET-230) have been fixed in this update.