Interface ImageApiGetItemImage2Request

Request parameters for getItemImage2 operation in ImageApi.

ImageApiGetItemImage2Request

interface ImageApiGetItemImage2Request {
    backgroundColor?: string;
    blur?: number;
    fillHeight?: number;
    fillWidth?: number;
    foregroundLayer?: string;
    format: ImageFormat;
    height?: number;
    imageIndex: number;
    imageType: ImageType;
    itemId: string;
    maxHeight: number;
    maxWidth: number;
    percentPlayed: number;
    quality?: number;
    tag: string;
    unplayedCount: number;
    width?: number;
}

Properties

backgroundColor?: string

Optional. Apply a background color for transparent images.

ImageApiGetItemImage2

blur?: number

Optional. Blur image.

ImageApiGetItemImage2

fillHeight?: number

Height of box to fill.

ImageApiGetItemImage2

fillWidth?: number

Width of box to fill.

ImageApiGetItemImage2

foregroundLayer?: string

Optional. Apply a foreground layer on top of the image.

ImageApiGetItemImage2

format: ImageFormat

Determines the output format of the image - original,gif,jpg,png.

ImageApiGetItemImage2

height?: number

The fixed image height to return.

ImageApiGetItemImage2

imageIndex: number

Image index.

ImageApiGetItemImage2

imageType: ImageType

Image type.

ImageApiGetItemImage2

itemId: string

Item id.

ImageApiGetItemImage2

maxHeight: number

The maximum image height to return.

ImageApiGetItemImage2

maxWidth: number

The maximum image width to return.

ImageApiGetItemImage2

percentPlayed: number

Optional. Percent to render for the percent played overlay.

ImageApiGetItemImage2

quality?: number

Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.

ImageApiGetItemImage2

tag: string

Optional. Supply the cache tag from the item object to receive strong caching headers.

ImageApiGetItemImage2

unplayedCount: number

Optional. Unplayed count overlay to render.

ImageApiGetItemImage2

width?: number

The fixed image width to return.

ImageApiGetItemImage2