-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathScryfallImages.ts
More file actions
46 lines (44 loc) · 1.26 KB
/
ScryfallImages.ts
File metadata and controls
46 lines (44 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { ScryfallURI } from "./ScryfallURI";
/**
* Various images available for a card. Scryfall produces multiple sizes of images and image crops for each card.
*/
export interface ScryfallImages {
/**
* A small full card image. Designed for use as thumbnail or list icon.
* Size: 146 x 204
* Format: jpg
*/
small: ScryfallURI;
/**
* A medium-sized full card image.
* Size: 488 × 680
* Format: jpg
*/
normal: ScryfallURI;
/**
* A large full card image.
* Size: 672 × 936
* Format: jpg
*/
large: ScryfallURI,
/**
* A transparent, rounded full card PNG. This is the best image to use for videos or other high-quality content.
* Size: 745 × 1040
* Format: png
*/
png: ScryfallURI;
/**
* A rectangular crop of the card’s art only.
* Not guaranteed to be perfect for cards with outlier designs or strange frame arrangements.
* Size: Varies
* Format: jpg
*/
art_crop: ScryfallURI;
/**
* A full card image with the rounded corners and the majority of the border cropped off.
* Designed for dated contexts where rounded images can’t be used.
* Size: 480 × 680
* Format: jpg
*/
border_crop: ScryfallURI;
}