getItemImage2

suspend fun getItemImage2(itemId: <Error class: unknown class>, imageType: <Error class: unknown class>, maxWidth: Int, maxHeight: Int, tag: String, format: <Error class: unknown class>, percentPlayed: Double, unplayedCount: Int, imageIndex: Int, width: Int? = null, height: Int? = null, quality: Int? = null, fillWidth: Int? = null, fillHeight: Int? = null, blur: Int? = null, backgroundColor: String? = null, foregroundLayer: String? = null): Response<<Error class: unknown class>>

Gets the item's image.

Parameters

itemId

Item id.

imageType

Image type.

maxWidth

The maximum image width to return.

maxHeight

The maximum image height to return.

tag

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

format

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

percentPlayed

Optional. Percent to render for the percent played overlay.

unplayedCount

Optional. Unplayed count overlay to render.

imageIndex

Image index.

width

The fixed image width to return.

height

The fixed image height to return.

quality

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

fillWidth

Width of box to fill.

fillHeight

Height of box to fill.

blur

Optional. Blur image.

backgroundColor

Optional. Apply a background color for transparent images.

foregroundLayer

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


suspend fun getItemImage2(request: <Error class: unknown class>): Response<<Error class: unknown class>>

Gets the item's image.

Parameters

request

The request parameters