PsdImage.AddInvertAdjustmentLayer
PsdImage.AddInvertAdjustmentLayer method
Adds an invert adjustment layer.
public InvertAdjustmentLayer AddInvertAdjustmentLayer()
Return Value
The created invert layer
Examples
The following code demonstrates support for the InvertAdjustmentLayer and how to add InvertAdjustmentLayer.
[C#]
var filePath = "InvertStripes_before.psd";
var outputPath = "InvertStripes_after.psd";
using (var im = (PsdImage)Image.Load(filePath))
{
im.AddInvertAdjustmentLayer();
im.Save(outputPath);
}
See Also
- class InvertAdjustmentLayer
- class PsdImage
- namespace Aspose.PSD.FileFormats.Psd
- assembly Aspose.PSD