Interface ImageApiGetGenreImageRequest

Request parameters for getGenreImage operation in ImageApi.

ImageApiGetGenreImageRequest

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

Properties

backgroundColor?: string

Optional. Apply a background color for transparent images.

ImageApiGetGenreImage

blur?: number

Optional. Blur image.

ImageApiGetGenreImage

fillHeight?: number

Height of box to fill.

ImageApiGetGenreImage

fillWidth?: number

Width of box to fill.

ImageApiGetGenreImage

foregroundLayer?: string

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

ImageApiGetGenreImage

format?: ImageFormat

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

ImageApiGetGenreImage

height?: number

The fixed image height to return.

ImageApiGetGenreImage

imageIndex?: number

Image index.

ImageApiGetGenreImage

imageType: ImageType

Image type.

ImageApiGetGenreImage

maxHeight?: number

The maximum image height to return.

ImageApiGetGenreImage

maxWidth?: number

The maximum image width to return.

ImageApiGetGenreImage

name: string

Genre name.

ImageApiGetGenreImage

percentPlayed?: number

Optional. Percent to render for the percent played overlay.

ImageApiGetGenreImage

quality?: number

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

ImageApiGetGenreImage

tag?: string

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

ImageApiGetGenreImage

unplayedCount?: number

Optional. Unplayed count overlay to render.

ImageApiGetGenreImage

width?: number

The fixed image width to return.

ImageApiGetGenreImage