Skip to content

Commit

Permalink
Improve image quality (bluesky-social#442)
Browse files Browse the repository at this point in the history
* Increase the allowed dimenions of all images

* Increase the size and quality of served images

* Update tests for larger res
  • Loading branch information
pfrazee authored Dec 26, 2022
1 parent 03c6c14 commit 1ede96c
Show file tree
Hide file tree
Showing 23 changed files with 264 additions and 256 deletions.
8 changes: 4 additions & 4 deletions lexicons/app/bsky/actor/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"avatar": {
"type": "image",
"accept": ["image/png", "image/jpeg"],
"maxWidth": 500,
"maxHeight": 500,
"maxWidth": 1000,
"maxHeight": 1000,
"maxSize": 300000
},
"banner": {
"type": "image",
"accept": ["image/png", "image/jpeg"],
"maxWidth": 1500,
"maxHeight": 500,
"maxWidth": 3000,
"maxHeight": 1000,
"maxSize": 500000
}
}
Expand Down
6 changes: 3 additions & 3 deletions lexicons/app/bsky/embed/external.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"thumb": {
"type": "image",
"accept": ["image/*"],
"maxWidth": 250,
"maxHeight": 250,
"maxSize": 100000
"maxWidth": 1000,
"maxHeight": 1000,
"maxSize": 300000
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions lexicons/app/bsky/embed/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"image": {
"type": "image",
"accept": ["image/*"],
"maxWidth": 500,
"maxHeight": 500,
"maxWidth": 1000,
"maxHeight": 1000,
"maxSize": 300000
},
"alt": {"type": "string"}
Expand Down
19 changes: 10 additions & 9 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1159,15 +1159,15 @@ export const schemaDict = {
avatar: {
type: 'image',
accept: ['image/png', 'image/jpeg'],
maxWidth: 500,
maxHeight: 500,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
banner: {
type: 'image',
accept: ['image/png', 'image/jpeg'],
maxWidth: 1500,
maxHeight: 500,
maxWidth: 3000,
maxHeight: 1000,
maxSize: 500000,
},
},
Expand Down Expand Up @@ -1464,9 +1464,9 @@ export const schemaDict = {
thumb: {
type: 'image',
accept: ['image/*'],
maxWidth: 250,
maxHeight: 250,
maxSize: 100000,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
},
},
Expand Down Expand Up @@ -1526,8 +1526,8 @@ export const schemaDict = {
image: {
type: 'image',
accept: ['image/*'],
maxWidth: 500,
maxHeight: 500,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
alt: {
Expand Down Expand Up @@ -2044,6 +2044,7 @@ export const schemaDict = {
},
textSlice: {
type: 'object',
description: 'A text segment. Start is inclusive, end is exclusive.',
required: ['start', 'end'],
properties: {
start: {
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/types/app/bsky/feed/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface Entity {
[k: string]: unknown
}

/** A text segment. Start is inclusive, end is exclusive. */
export interface TextSlice {
start: number
end: number
Expand Down
2 changes: 1 addition & 1 deletion packages/pds/src/image/sharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function resize(

// Output to specified format
if (format === 'jpeg') {
processor = processor.jpeg({ quality: quality ?? 80 })
processor = processor.jpeg({ quality: quality ?? 100 })
} else if (format === 'png') {
processor = processor.png({ quality: quality ?? 100 })
}
Expand Down
20 changes: 12 additions & 8 deletions packages/pds/src/image/uri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,39 @@ export class ImageUriBuilder {
cid: typeof cid === 'string' ? CID.parse(cid) : cid,
format: 'jpeg',
fit: 'cover',
height: 250,
width: 250,
height: 500,
width: 500,
quality: 100,
min: true,
})
} else if (id === 'banner') {
return this.getSignedUri({
cid: typeof cid === 'string' ? CID.parse(cid) : cid,
format: 'jpeg',
fit: 'cover',
height: 250,
width: 750,
height: 500,
width: 1500,
quality: 100,
min: true,
})
} else if (id === 'feed_fullsize') {
return this.getSignedUri({
cid: typeof cid === 'string' ? CID.parse(cid) : cid,
format: 'jpeg',
fit: 'inside',
height: 500,
width: 500,
height: 1000,
width: 1000,
quality: 100,
min: true,
})
} else if (id === 'feed_thumbnail') {
return this.getSignedUri({
cid: typeof cid === 'string' ? CID.parse(cid) : cid,
format: 'jpeg',
fit: 'inside',
height: 250,
width: 250,
height: 500,
width: 500,
quality: 100,
min: true,
})
} else {
Expand Down
19 changes: 10 additions & 9 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1159,15 +1159,15 @@ export const schemaDict = {
avatar: {
type: 'image',
accept: ['image/png', 'image/jpeg'],
maxWidth: 500,
maxHeight: 500,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
banner: {
type: 'image',
accept: ['image/png', 'image/jpeg'],
maxWidth: 1500,
maxHeight: 500,
maxWidth: 3000,
maxHeight: 1000,
maxSize: 500000,
},
},
Expand Down Expand Up @@ -1464,9 +1464,9 @@ export const schemaDict = {
thumb: {
type: 'image',
accept: ['image/*'],
maxWidth: 250,
maxHeight: 250,
maxSize: 100000,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
},
},
Expand Down Expand Up @@ -1526,8 +1526,8 @@ export const schemaDict = {
image: {
type: 'image',
accept: ['image/*'],
maxWidth: 500,
maxHeight: 500,
maxWidth: 1000,
maxHeight: 1000,
maxSize: 300000,
},
alt: {
Expand Down Expand Up @@ -2044,6 +2044,7 @@ export const schemaDict = {
},
textSlice: {
type: 'object',
description: 'A text segment. Start is inclusive, end is exclusive.',
required: ['start', 'end'],
properties: {
start: {
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/types/app/bsky/feed/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface Entity {
[k: string]: unknown
}

/** A text segment. Start is inclusive, end is exclusive. */
export interface TextSlice {
start: number
end: number
Expand Down
44 changes: 22 additions & 22 deletions packages/pds/tests/event-stream/__snapshots__/sync.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down Expand Up @@ -185,7 +185,7 @@ Array [
"reply": Object {
"parent": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -210,7 +210,7 @@ Array [
},
"root": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down Expand Up @@ -252,13 +252,13 @@ Array [
"images": Array [
Object {
"alt": "tests/image/fixtures/key-landscape-small.jpg",
"fullsize": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/oyYvmnCYEULJ70JgyQHrekEVfqR3bfHMucQ7p7yXhvQ/rs:fit:250:250:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"fullsize": "https://pds.public.url/image/uc7FGfiGv0mMqmk9XiqHXrIhNymLHaex7Ge8nEhmXqo/rs:fit:1000:1000:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
},
Object {
"alt": "tests/image/fixtures/key-portrait-small.jpg",
"fullsize": "https://pds.public.url/image/IBdh1uYxiSsHAl6Ai0aAwpmO_JdnuNJhb12PSD5ZNYg/rs:fit:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"thumb": "https://pds.public.url/image/ELecCwtuiF4W0nLWO5UVRtmQlq7vpFDN8GuZtHB1cBc/rs:fit:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"fullsize": "https://pds.public.url/image/U4JKWhiR3pr6obgzSFm7FyjurKcEmNFmak8JRl59fd0/rs:fit:1000:1000:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"thumb": "https://pds.public.url/image/IBdh1uYxiSsHAl6Ai0aAwpmO_JdnuNJhb12PSD5ZNYg/rs:fit:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
},
],
},
Expand Down Expand Up @@ -299,7 +299,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -315,8 +315,8 @@ Array [
"images": Array [
Object {
"alt": "tests/image/fixtures/key-landscape-small.jpg",
"fullsize": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/oyYvmnCYEULJ70JgyQHrekEVfqR3bfHMucQ7p7yXhvQ/rs:fit:250:250:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"fullsize": "https://pds.public.url/image/uc7FGfiGv0mMqmk9XiqHXrIhNymLHaex7Ge8nEhmXqo/rs:fit:1000:1000:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
},
],
},
Expand Down Expand Up @@ -357,7 +357,7 @@ Array [
"reply": Object {
"parent": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -382,7 +382,7 @@ Array [
},
"root": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down Expand Up @@ -410,7 +410,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -437,7 +437,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -464,7 +464,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down Expand Up @@ -500,7 +500,7 @@ Array [
"reply": Object {
"parent": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -516,8 +516,8 @@ Array [
"images": Array [
Object {
"alt": "tests/image/fixtures/key-landscape-small.jpg",
"fullsize": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/oyYvmnCYEULJ70JgyQHrekEVfqR3bfHMucQ7p7yXhvQ/rs:fit:250:250:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"fullsize": "https://pds.public.url/image/uc7FGfiGv0mMqmk9XiqHXrIhNymLHaex7Ge8nEhmXqo/rs:fit:1000:1000:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
"thumb": "https://pds.public.url/image/IPAYhVzUxU3OXfF-R2hr1eYlq5BAbioC9U2pHmZpwi0/rs:fit:500:500:1:0/plain/bafkreigy5p3xxceipk2o6nqtnugpft26ol6yleqhboqziino7axvdngtci@jpeg",
},
],
},
Expand Down Expand Up @@ -557,7 +557,7 @@ Array [
},
"root": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down Expand Up @@ -585,7 +585,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -612,7 +612,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand All @@ -639,7 +639,7 @@ Array [
Object {
"post": Object {
"author": Object {
"avatar": "https://pds.public.url/image/w4t9ji0l53vlWd7Res2ZSFAL6QS2iaI9RGCt6Gs5reE/rs:fill:250:250:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"avatar": "https://pds.public.url/image/nFNFXt5_l4kN8k1Ar8Gb8tfEj8Z0woTMDD3UoX5nNqo/rs:fill:500:500:1:0/plain/bafkreiaivizp4xldojmmpuzmiu75cmea7nq56dnntnuhzhsjcb63aou5ei@jpeg",
"declaration": Object {
"actorType": "app.bsky.system.actorUser",
"cid": "cids(1)",
Expand Down
4 changes: 2 additions & 2 deletions packages/pds/tests/file-uploads.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ describe('file uploads', () => {
const info = await image.getInfo(res.data)
expect(info).toEqual(
expect.objectContaining({
height: 250,
width: 250,
height: 500,
width: 500,
}),
)
})
Expand Down
Loading

0 comments on commit 1ede96c

Please sign in to comment.