Adobe Photoshop without having to rely items! PSD management controls Aspose.PSD heavy on the line!

Aspose.PSD senior PSD file format operation API, Adobe Photoshop without any dependencies. API allows you to create or edit a Photoshop file, and provide updates layer properties, add watermarks, or perform graphics operations to convert one file format to another file function.

Aspose.PSD for .NET support for PSD and PSB file formats loaded and processed, and allows you to export a variety of raster image formats, such as TIFF, JPEG, PNG, GIF, BMP and so on.

General features

Overview Aspose.PSD for .NET functionality.

1.png

Supported file formats

Loaded in your application, create or edit Photoshop PSD and PSB files. Currently only available for .NET and Java platforms.

48C29FD3-0AB0-407e-86FD-63051A09EBC9.png

Platform independence

Aspose.PSD for .NET support any .NET Framework 2.0 from the beginning.

4B84DCAA-57F3-4e4c-92C5-BEAB9771244E.png

Advanced API functions to manipulate .NET PSD

  • Convert Photoshop image files
  • Photoshop files created from scratch
  • Load an existing Photoshop file
  • A rectangular clipping area
  • Drawing and shape substantially filled
  • Crop, rotate and resize the image
  • Merge Layers PSD
  • PSD gray with Alpha's support
  • PSD's layer effects
  • Layer creation date and time
  • Highlight color drawings
  • Support Layer Mask
  • It supports text layer at runtime
  • Adjustment layer support
  • Management brightness and contrast adjustment layers
  • Exposure management layer
  • Mixer adjustment layer management channel
  • The PSD layers into another layer
  • Rendering curve adjustment layer
  • Photo Filter adjustment layer Administrator
  • Adding layers and rendering levels
  • Was added to adjust the hue saturation layer
  • Clipping Mask of support
  • Management layer opacity and flattening layers

PSD will be exported to various raster formats

Aspose.PSD for .NET provides a PSD file export to any supported raster image format features, just a few lines of code.

// load an existing PSD image as Imageusing (var psd = Aspose.PSD.Image.Load(dir + "template.psd")){
    // save result in different raster formats with customized attributes
    psd.Save(dir + "output.png", new Aspose.PSD.ImageOptions.PngOptions());
    psd.Save(dir + "output.jpg", new Aspose.PSD.ImageOptions.JpegOptions() { Quality = 70 }); psd.Save(dir + "output.tiff", new Aspose.PSD.ImageOptions.TiffOptions(Aspose.PSD.FileFormats.Tiff.Enums.TiffExpectedFormat.TiffCcitRle));}复制代码

Accessing and manipulating PSD layer

Aspose.PSD for .NET allows you to access the PSD layers, and in which you can draw an image or text. You can merge layers, update the text on the layer, set the layer effect or exported as image. You can also use PSD .NET API to detect flatten PSD files or create thumbnails.

To read or create a PSD file

Aspose.PSD for .NET not only supports loading PSD and PSB file formats for manipulation and transformation, but also provides created from scratch PSD and PSB files function. .NET developers can use the API automation solutions might help them solve the problem.

using (var psd = Aspose.PSD.Image.Create(new Aspose.PSD.ImageOptions.PsdOptions(){
    Source = new Aspose.PSD.Sources.FileCreateSource(dir + "output.psd", false),
    ColorMode = Aspose.PSD.FileFormats.Psd.ColorModes.Rgb,
    CompressionMethod = Aspose.PSD.FileFormats.Psd.CompressionMethod.RLE,
    Version = 4}, 400, 400)){
    // draw some graphics over the newly created PSD
    var graphics = new Aspose.PSD.Graphics(psd);
    graphics.Clear(Aspose.PSD.Color.White);
    graphics.DrawEllipse(new Aspose.PSD.Pen(Aspose.PSD.Color.Red, 6), new Aspose.PSD.Rectangle(0, 0, 400, 400));
    psd.Save();}复制代码

Various imaging filters

Aspose.PSD for .NET provides the core with its imaging function library, such as color adjustment. Developers can easily adjust the brightness of the raster image, contrast or gamma API loaded. In addition, developers can shake or blurring of dynamic images, and the use of the popular filter, comprising Median, Gauss Wiener, Motion Wiener and Bradley Threshold ..

If you are interested in any technology or product Aspose problem can join Aspose exchange group (642 018 183)

Guess you like

Origin www.cnblogs.com/mnrssj-Aspsoe/p/11758354.html