Interface ImageApiHeadItemImageRequest

Request parameters for headItemImage operation in ImageApi.

ImageApiHeadItemImageRequest

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

ImageApiHeadItemImage

blur?: number

Optional. Blur image.

ImageApiHeadItemImage

fillHeight?: number

Height of box to fill.

ImageApiHeadItemImage

fillWidth?: number

Width of box to fill.

ImageApiHeadItemImage

foregroundLayer?: string

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

ImageApiHeadItemImage

format?: ImageFormat

Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.

ImageApiHeadItemImage

height?: number

The fixed image height to return.

ImageApiHeadItemImage

imageIndex?: number

Image index.

ImageApiHeadItemImage

imageType: ImageType

Image type.

ImageApiHeadItemImage

itemId: string

Item id.

ImageApiHeadItemImage

maxHeight?: number

The maximum image height to return.

ImageApiHeadItemImage

maxWidth?: number

The maximum image width to return.

ImageApiHeadItemImage

percentPlayed?: number

Optional. Percent to render for the percent played overlay.

ImageApiHeadItemImage

quality?: number

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

ImageApiHeadItemImage

tag?: string

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

ImageApiHeadItemImage

unplayedCount?: number

Optional. Unplayed count overlay to render.

ImageApiHeadItemImage

width?: number

The fixed image width to return.

ImageApiHeadItemImage