Interface ImageApiHeadItemImage2Request

Request parameters for headItemImage2 operation in ImageApi.

ImageApiHeadItemImage2Request

interface ImageApiHeadItemImage2Request {
    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.

ImageApiHeadItemImage2

blur?: number

Optional. Blur image.

ImageApiHeadItemImage2

fillHeight?: number

Height of box to fill.

ImageApiHeadItemImage2

fillWidth?: number

Width of box to fill.

ImageApiHeadItemImage2

foregroundLayer?: string

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

ImageApiHeadItemImage2

format: ImageFormat

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

ImageApiHeadItemImage2

height?: number

The fixed image height to return.

ImageApiHeadItemImage2

imageIndex: number

Image index.

ImageApiHeadItemImage2

imageType: ImageType

Image type.

ImageApiHeadItemImage2

itemId: string

Item id.

ImageApiHeadItemImage2

maxHeight: number

The maximum image height to return.

ImageApiHeadItemImage2

maxWidth: number

The maximum image width to return.

ImageApiHeadItemImage2

percentPlayed: number

Optional. Percent to render for the percent played overlay.

ImageApiHeadItemImage2

quality?: number

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

ImageApiHeadItemImage2

tag: string

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

ImageApiHeadItemImage2

unplayedCount: number

Optional. Unplayed count overlay to render.

ImageApiHeadItemImage2

width?: number

The fixed image width to return.

ImageApiHeadItemImage2