Aspose.PSD CLI Crop for .NET 24.4 - Release Notes

Contents
[ ]
Key Summary Category
PSDNET-2025 Initial release of Aspose.PSD CLI Crop Application Enhancement

Usage examples:

PSDNET-2023. Initial release of Aspose.PSD CLI Crop Application

Usage from command line:

Aspose.PSD.CLI.Crop --input photo1.jpg --output cropped_photo.png --format png --left 10 --top 35 --width 250 --height 300 --cropType rect --license Aspose.PSD.Product.Family.lic

Usage from command code:

var options = new Aspose.PSD.CLI.CommandLineOptions.CropOptions
{
    InputPath = "photo1.jpg",
    CropType = CropType.Rect,
    Left = 10,
    Top = 35,
    Width = 250,
    Height = 300,
    OutputPath = "cropped_photo.png",
    OutputFormat = "png"
};


if (isLicensed)
{
    options.LicensePath = "Aspose.PSD.Product.Family.lic";
}

Aspose.PSD.CLI.Crop.Apply(options);