When you try to get an image from the API you might mostly get an url ending without any extension like below.
That’s normal.
We allows you to customise the extension and quality (for Cards) of the image you want.
For cards
the url can be reconstructed as such
with {quality}
being replaced by high
or low
and {extension}
being replaced by png
, webp
or jpg
see details below
for symbols
and logos
the url can be reconstructed as such
with {extension}
being replaced by png
, webp
or jpg
see details below
Some of the SDKs have helpers to easily reconstruct them
on a Card
object
on a Set
object
on a Card
object
on a Set
object
Extension
Every assets are available with three extensions :
png
: card with Transparent background
jpg
: card with Black background (not Recommanded)
webp
: Modern format that is more compact than png/jpg with a transparent background (Recommanded)
Quality
Every assets are available with three extensions :
high
: get the image in a 600x825 format
low
: get the image in a 245x337 format