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

# ImageError Enumeration

Namespace: id3.Document

## Definition

Enumerates possible error codes related to image management.
Python

    class ImageError

Dart

    enum ImageError

C#

    public enum ImageError

Java

    public enum ImageError

Swift

    public enum ImageError

C

    typedef enum id3DocumentImageError

## Fields

Name | Value | Description
--- | --- | ---
`success` | 0 | No error.
`insufficientBuffer` | -1 | The given buffer is too small.
`objectDoesNotExist` | -2 | The requested object does not exist; a ‘null’ should be returned if possible.
`base` | -3000 | Base error code for Image module.
`minimum` | -3999 | Minimum error code for Image module.
`invalidHandle` | -3001 | The handle is invalid.
`invalidParameter` | -3002 | The parameter is invalid.
`imageSizeMismatch` | -3003 | The image sizes are not compatible for the requested operation.
`pixelFormatMismatch` | -3004 | The pixel formats are not compatible.
`keyAlreadyExists` | -3005 | The given key is already used in the dictionary. Multiple values per key is not supported.
`keyNotFound` | -3006 | The given key is not present in the dictionary.
`invalidPixelFormat` | -3007 | The required pixel format is not correct.
`pythonModule` | -3008 | An error as occured during python module initialization.
`functionNotImplemented` | -3009 | Function not implemented.
`backendError` | -3010 | TODO