Image formats

The values from the table can be fed into get_image().

Category images

ratio

dimensions

ratio alias

size alias

available for client type

1:1

50x50

sqs

xs

none, roku

1:1

75x75

sqs

sm

none, roku

1:1

100x100

sqr

xs

none, roku

1:1

120x120

sqr

sm

none, roku

1:1

125x125

sqs

md

none

1:1

200x200

sqs

lg

none

1:1

224x224

sqr

md

none, roku

1:1

342x342

sqr

lg

none, roku

1:1

600x600

sqr

xl

none

269:152

269x152

wsr

xs

none, roku

16:9

160x90

wss

xs

none, roku

16:9

320x180

wss

sm

firetv, none, roku, www

16:9

640x360

wss

lg

appletv, none

16:9

640x360

wsr

sm

none, roku

16:9

720x405

wsr

md

none

16:9

1280x720

wsr

lg

none, roku

3:1

240x80

pnr

xs

none, roku

3:1

480x160

pnr

sm

none, roku

3:1

801x267

pnr

md

none, roku

3:1

1200x400

pnr

lg

appletv, none, roku, www

Media images

ratio

dimensions

ratio alias

size alias

available for client type

1:1

50x50

sqs

xs

roku

1:1

100x100

sqr

xs

roku

1:1

120x120

sqr

sm

roku

1:1

160x160

cvr

xs

roku

1:1

224x224

sqr

md

appletv, none, roku

1:1

342x342

sqr

lg

firetv, roku, www

269:152

269x152

wsr

xs

roku

16:9

160x90

wss

xs

roku

16:9

320x180

wss

sm

appletv, none, roku, www

16:9

640x360

wss

lg

appletv, firetv, none, www

16:9

640x360

wsr

sm

roku

16:9

1280x720

wsr

lg

roku

2:1

760x380

lss

lg

www

2:1

1200x600

lsr

xl

none, www

3:1

240x80

pnr

xs

roku

3:1

480x160

pnr

sm

roku

3:1

801x267

pnr

md

roku

3:1

1200x400

pnr

lg

appletv, firetv, none, roku, www

You can generate an up-to-date version by running:

python -m jwlib.media.imagetable [CLIENT_TYPE] ...

Note

This requires Pillow and tabulate to be installed.

jwlib.media.imagetable.generate_image_table(*client_types: str) None[source]