Authorizations
The token which identifies the user accessing the PMS. This can be either:
- A traditional access token obtained from plex.tv
- A JWT token obtained through the JWT authentication flow
JWT tokens provide better security with:
- Short-lived tokens (7 days expiration)
- Public-key cryptography (ED25519)
- Better clock synchronization
- Individual device revocation capability
Headers
Indicates the client accepts the indicated media types
application/json, application/xml An opaque identifier unique to the client
"abc123"
The name of the client product
"Plex for Roku"
The version of the client application
"2.4.1"
The platform of the client
"Roku"
The version of the platform
"4.3 build 1057"
A relatively friendly name for the client device
"Roku 3"
A potentially less friendly identifier for the device model
"4200X"
The device vendor
"Roku"
A friendly name for the client
"Living Room TV"
The marketplace on which the client application is distributed
"googlePlay"
Query Parameters
The source URL for the image to transcode. Note, if this URL requires a token such as X-Plex-Token, it should be given as a query parameter to this url.
The output format for the image; defaults to jpg
jpg, jpeg, png, ppm The desired width of the output image
The desired height of the output image
The desired quality of the output. -1 means the highest quality. Defaults to -1
-1 <= x <= 127The background color to apply before painting the image. Only really applicable if image has transparency. Defaults to none
Indicates if image should be upscaled to the desired width/height. Defaults to false
0, 1 Indicates if image should be scaled to fit the smaller dimension. By default (false) the image is scaled to fit within the width/height specified but if this parameter is true, it will allow overflowing one dimension to fit the other. Essentially it is making the width/height minimum sizes of the image or sizing the image to fill the entire width/height even if it overflows one dimension.
0, 1 Obey the rotation values specified in EXIF data. Defaults to true.
0, 1 Apply a blur to the image, Defaults to 0 (none)
Scale the image saturation by the specified percentage. Defaults to 100
0 <= x <= 100Render the image at the specified opacity percentage. Defaults to 100
0 <= x <= 100Use the specified chroma subsambling.
- 0: 411
- 1: 420
- 2: 422
- 3: 444 Defaults to 3 (444)
0, 1, 2, 3 The color to blend with the image. Defaults to none
Response
The resulting image
The response is of type file.