Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Image handling

id3 Face SDK provides the necessary methods to work with static images coming from various sources. Please refer to the Image Class for full reference.

Important

When creating an Image object, the PixelFormat must be set to `bgr24Bits`.

## Loading an image

To load an image into the memory you need to create an Image object that will contain the image’s content.

The image can be loaded from a file or a buffer:

C#

    Image image1 = Image.FromFile(imagePath1, PixelFormat.Bgr24Bits);

### See also

- Image.fromBuffer Method

- Image.fromFile Method

- Image.fromRawBuffer Method

- Image.fromYuvPlanes Method