LayerGroup


#1

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


#2

@hartzjohn,

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.


#3

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
Try
Layer.Save(FilePath, ImageOptions)
Catch ex As Exception
Debug.WriteLine(ex.Message)
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?


#4

@hartzjohn,

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.