ImageGear allows users to load layered image files and retain image layers for editing. Users can also create new layers, delete existing ones, as well as flatten and display the selected layers.
ImageGear currently supports layers for PSD and large PSD (PSB) file formats.
ImageGear provides a set of API for working with layers:
- HIGLAYER is a handle-based object representing the general attributes of the layer. ImageGear can currently read and write PSD layers. Users can manipulate with generic layer attributes using the IG_layer_... API.
- HIGIMAGELAYER is a handle-based object representing the image layer and its attributes. Any PSD image can consist of multiple layers. Currently ImageGear can only read, write, and edit image layers, i.e., layers represented by a raster image. Users can manipulate with image layer attributes using the IG_image_layer_... API.
- HIGLAYERARRAY is a handle-based object representing the composition of layers. The composition of layers from a PSD image is stored in the array of layers attached to the HIGEAR. Users can manipulate with composition by creating new layers, editing, and deleting the existing ones using the IG_layer_array_... API.
- HIGEAR also has new IG_image_layers_... API, and there are new IG_gui_layers_... functions in the GUI Component.