ImageGear for C and C++ on Windows v19.1 - Updated
Photoshop
User Guide > How to Work with... > Formats with Additional Functionality > Photoshop

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:

Types of Layers Used in ImageGear

Layers are used to specify different elements of an image. There are different types of layers. They represent a part of an image either as image pixels or as adjustment instructions. They are stacked on top of each other, producing the resultant appearance of the image. ImageGear supports the image layers described next: