Skip to content

Commit 0e7f809

Browse files
committed
docs: add new images to demo
1 parent 09d1ec9 commit 0e7f809

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

src/demo/contexts/demo/defaultImages.ts

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ const standardMaskUrl = 'https://demo-dataset.image-js.org/standard_mask';
55
const morphologyMaskUrl = 'https://demo-dataset.image-js.org/morphology_mask';
66

77
export const defaultImages: UrlOption[] = [
8+
{
9+
type: 'url',
10+
value: `${standardUrl}/barbara.jpg`,
11+
label: 'Barbara',
12+
imageType: 'image',
13+
},
814
{
915
type: 'url',
1016
value: `${standardUrl}/mandrill.png`,
@@ -13,8 +19,20 @@ export const defaultImages: UrlOption[] = [
1319
},
1420
{
1521
type: 'url',
16-
value: `${standardUrl}/barbara.jpg`,
17-
label: 'Barbara',
22+
value: `${standardUrl}/male.png`,
23+
label: 'Male',
24+
imageType: 'image',
25+
},
26+
{
27+
type: 'url',
28+
value: `${standardUrl}/femaleBellLabs.png`,
29+
label: 'Female from Bell Labs',
30+
imageType: 'image',
31+
},
32+
{
33+
type: 'url',
34+
value: `${standardUrl}/female.png`,
35+
label: 'Female',
1836
imageType: 'image',
1937
},
2038
{
@@ -35,6 +53,18 @@ export const defaultImages: UrlOption[] = [
3553
label: 'House',
3654
imageType: 'image',
3755
},
56+
{
57+
type: 'url',
58+
value: `${standardUrl}/jellybeans.png`,
59+
label: 'Jelly beans',
60+
imageType: 'image',
61+
},
62+
{
63+
type: 'url',
64+
value: `${standardUrl}/airport.png`,
65+
label: 'Airport',
66+
imageType: 'image',
67+
},
3868
];
3969

4070
export const defaultMasks: UrlOption[] = [
@@ -74,6 +104,12 @@ export const defaultMasks: UrlOption[] = [
74104
label: 'Mandrill',
75105
imageType: 'mask',
76106
},
107+
{
108+
type: 'url',
109+
value: `${standardMaskUrl}/male.png`,
110+
label: 'Male',
111+
imageType: 'mask',
112+
},
77113
{
78114
type: 'url',
79115
value: `${standardMaskUrl}/peppers.png`,

0 commit comments

Comments
 (0)