Crop PSD Images and Use Filters using .NET PSD API

Aspose.PSD for .NET logoHello viewers! In today’s blog, I am back with giving you a walk through of the latest Aspose.PSD for .NET 19.5 release. This is a relatively new product and we tend to include new features to it in every monthly release. In the following section, I will be giving you an overview of new features along with sample examples for how to use them.

Support of Fill layers: Pattern

In Photoshop Creative Suite 6, one can apply preset patterns as fills. To fill a layer or selection with a preset pattern, one needs to select a layer in edit mode and set either preset or custom panel for selected panel.

Likewise, Aspose.PSD now also support setting for filling PSD layer with Pattern fill. For this, Aspose.PSD.FileFormats.Psd.Layers.FillLayer is used to add Pattern in PSD layer. In the following example, we have demonstrated loading of a PSD file, accessing the Filllayer class and setting the Pattern using the PatternFillSettings properties.

Support for New Resources

Aspose.PSD for .NET now introduces support for working with resources like PtFlResource and VsmsResource. For this, one needs to use PtFlResource and VsmsResource classes for resources available PSD layers. In the following examples, we have demonstrated the use of PtFlResource and VsmsResource respectively.

You can check the official product release notes for many other issues and enhancement carried out in product as well. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.