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

# Image.width Property

Module: Image

Type: int

## Definition

Width in pixels.

Python

    width: int

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    int get width => getWidth();

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public int width
    {
        get => Getwidth();
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public int getWidth() throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var width: Int
        get {
            return Int(try! getWidth())
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceImage_GetWidth (ID3_FACE_IMAGE hImage, int * width)

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.