OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
frontends.tk.media.spotify_services_if.ArtworkProviderIf Class Reference

Load decoded artwork sized for a Tk presentation. More...

Inherits Protocol.

Public Member Functions

Image.Image get (self, str url, *int width, int height)
 Return decoded artwork for the requested URL and dimensions.
 

Detailed Description

Load decoded artwork sized for a Tk presentation.

Member Function Documentation

◆ get()

Image.Image frontends.tk.media.spotify_services_if.ArtworkProviderIf.get (   self,
str  url,
*int  width,
int  height 
)

Return decoded artwork for the requested URL and dimensions.

Parameters
urlArtwork URL to retrieve.
widthRequested artwork width in pixels.
heightRequested artwork height in pixels.
Returns
Decoded and sized artwork image.

The documentation for this class was generated from the following file: