-
Notifications
You must be signed in to change notification settings - Fork 39
Image Resizing Service
Lanthade edited this page Apr 30, 2023
·
3 revisions
Plex's Photo transcoder is used throughout the service to serve images at specified sizes.
Endpoint: /photo/:/transcode
Known Request Params:
- width
- height
- opacity - 0-100
- background - hex color
- format - png, jpg
- blur - Zero to very large values, larger values take longer to render
- minSize - 0,1 - images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.
- upscale - 0,1 - allow images to be resized beyond native dimensions.
- url - path to image within Plex
Example Request from Plex Media Server.log:
/photo/:/transcode?width=110&height=165&minSize=1&url=%2Flibrary%2Fmetadata%2F398%2Fthumb%2F1494993051%3FX-Plex-Token%3Dxxxxxxxxxxxxxxxxxxxx