Manipulating Photoshop Formats

Color Replacement in PSD Layers

Aspose.PSD for Java allows you to change background color of each layer of a PSD file. Please use the Aspose.PSD.FileFormats.Psd.Layers.BackgroundColor class to change layer background color in PSD layer. The following code snippet loads a PSD file, access the layer, update the background color and save the PSD file.

Update Text Layer In PSD File

Aspose.PSD for Java allows you to manipulate the text in the text layer of a PSD file. Please use the Aspose.PSD.FileFormats.Psd.Layers.TextLayer class to update text in PSD layer. The following code snippet loads a PSD file, access the text layer, update the text and save the PSD file with a new name using Aspose.PSD.FileFormats.Psd.Layers.TextLayer.UpdateText method.

Detecting Flattened PSD

Aspose.PSD for Java allows you to detect whether a given PSD file is flatten or not. IsFlatten property has been introduced in the Aspose.PSD.FileFormats.Psd.PsdImage class to achieve this functionality. The following code snippet loads a PSD file and access the property IsFlatten.

Merge PSD Layers

This article shows how to merge layers in a PSD file while converting a PSD file to JPG with Aspose.PSD. In the example below, an existing PSD file is loaded by passing the file path to the Image class static Load method. Once it is loaded, convert/cast the image to PsdImage. Create an instance of the JpegOptions class and set it various properties. Now call the Save method of the PsdImage instance. The following code snippet shows you how to merge PSD layers.

Grayscale Support With Alpha for PSD

This article shows how to support Grayscale with alpha for PSD file while converting a PSD file to PNG with Aspose.PSD. In the example below, an existing PSD file is loaded by passing the file path to the Image class static Load method. Once it is loaded, convert/cast the image to PsdImage. Create an instance of the PngOptions class and set its various properties. Set the ColorType property to TruecolorWithAlpha. Now call the Save method of the PngOptions instance. The following code snippet shows you how to convert to Grayscale PNG with Alpha.

Support Layer Effects For PSD

This article shows how support different effects like Blur, Inner Glow, Outer Glow for PSD layer. The following code snippet shows you how to support layer effects.

Support Layer Creation Date and Time

This article shows how to support date and time layer creation for PSD layer. The following code snippet shows you how to create layers.

Support for Sheet Color High Lighting

This article shows how to load psd images than change and highlight sheet colours and save that as image. The code snippet has been provided.

Support of Text Layers on Runtime

This article shows how to add text layers on runtime for PSD images. The code snippet has been provided below.

Support of Adjustment Layers

This article shows how to adjust layers and than if layer is null than merge layer and save as PSD images. The code snippet has been provided below.

Manage Brightness and Contrast in Adjustment Layers

This article shows how to iterate through layers and manage brightness and contrast in layers and than save as PSD images. The code snippet has been provided below.

Manage Exposure Layers

This article shows how to add and edit exposure layers and manage exposure layers and than save as PSD images. The code snippet has been provided below.

Manage Channel Mixer Adjust Layers

This article shows how to manage adjustment layers and set different colours and than save as PSD images. The code snippet has been provided below.

Merge PSD Layers into Other layers

This article shows how to merge layers into other layers in a PSD file with Aspose.PSD. In the example below, an existing PSD file is loaded by passing the file path to the Image class static Load method. Now call the Save method of the PsdImage instance. The following code snippet shows you how to merge PSD layers.

Support For TextBoundBox

This article shows how to Support text bound box in a PSD file with Aspose.PSD. In the example below, an existing PSD file is loaded by passing the file path to the Image class static Load method. TextBoundBox is the maximum layer size for Text layer. Now call the Save method of the PsdImage instance. The following code snippet shows you how to merge PSD layers.

Support For IOPA Resources

This article shows how to support IOPA resource in a PSD file with Aspose.PSD. The following code snippet shows you how to support IOPA in PSD layers.

Manage Opacity of Layers

This article shows how to manage opacity of layers in a PSD file with Aspose.PSD. The code snippet has been provided below.

Rendering of Curves Adjustment Layers

This article shows how to rendered curves adjust of layers in a PSD file and render them into PNG as well with Aspose.PSD. The code snippet has been provided below.

Add Curves Adjustment Layers

This article shows how to add curves adjustment layers in a PSD file with Aspose.PSD. The code snippet has been provided below.

Manager Photo Filter Adjustment Layer

This article shows how to iterate through each photo filter layers and add and edit them and save them as PSD file with Aspose.PSD. The code snippet has been provided below.

Support Flatten Layers

This article shows how to flatten whole PSD file and merge one layers into another and save them as PSD file with Aspose.PSD. The code snippet has been provided below.

Adding and Rendering of Level Layers

This article shows how to iterate through each level layers and set different levels than save that as PSD and PNG file with Aspose.PSD. The code snippet has been provided below.

Add Hue Saturation of Adjustment Layers

This article shows how to iterate through each Hue layers and set different ranges and colours than save that as PSD file with Aspose.PSD. The code snippet has been provided below.

Add Level Adjustment Layers

This article shows how to iterate through each level layers and set different levels than save that as PSD with Aspose.PSD. The code snippet has been provided below.

Support for Interrupt Monitor

This article shows how to create and monitor interrupts in Aspose.PSD. The code snippet has been provided below.

Support Layer Effects at Runtime

This article shows how to add layer effects at runtime in Aspose.PSD. The code snippet has been provided below.

Add Curve Adjustment layer

This article shows how to add curve adjustment layers in PSD using Aspose.PSD. The code snippet has been provided below.

Add Channel Mixer Adjustment layer

This article shows how to add channel mixer adjustment layers and set different colors and than save as PSD images. The code snippet has been provided below.

Rendering of Channel Mixer Adjustment layer

This article shows how to render channel mixer adjustment layers and set different colors channel and than save as PSD and PNG images. The code snippet has been provided below.

Rendering Exposure Adjustment layer

This article shows how to iterate through each exposure level layers and set different exposure values than save that as PSD as well as PNG with Aspose.PSD. The code snippet has been provided below.

Support Blend Modes

Using Aspose.PSD for Java, developers can use different blend modes. Below is the code demonstration of the said functionality.

Support Color Overlay Effect

Using Aspose.PSD for Java, developers can sets new layer with a color on top of that image and set it to the blending mode “Color.” To add a more effect, you put the color image on top of these 2 layers and use the “Overlay” blending mode. Below is the code demonstration of the said functionality.

Support Drop Shadow Effect

Using Aspose.PSD for Java, developers can sets drop shadow effects to different elements. Below is the code demonstration of the said functionality.

Rendering for Export of Color Overlay Effect

Using Aspose.PSD for Java, developers can rendered documents of color overlay effect. Below is the code demonstration of the said functionality.

Rendering for Export of Drop Shadow Effect

Using Aspose.PSD for Java, developers can rendered documents of drop shadow effect. Below is the code demonstration of the said functionality.

Support of RGB Color

This article shows how Aspose.PSD support RGB color mode with 16bit per channels. The code snippet has been provided below.