refactor: 📝 Replace Blurhash with Thumbhash

This commit is contained in:
Jesse Wierzbinski 2024-08-06 16:41:06 +02:00
parent eaf44a141d
commit df3514a297
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View file

@ -104,7 +104,7 @@ Notes represent a piece of content on a Lysand instance. They can be posted by [
"image/png": {
"content": "https://cdn.lysand.org/29e810bf4707fef373d886af322089d5db300fce66e4e073efc26827f10825f6/image.webp",
"remote": true,
"blurhash": "UPBy,E-qM{M_~qx]RjRP^+xuRjRjx[kWjajF",
"thumbhash": "1QcSHQRnh493V4dIh4eXh1h4kJUI",
"description": "",
"height": 960,
"size": 221275,
@ -118,7 +118,7 @@ Notes represent a piece of content on a Lysand instance. They can be posted by [
"image/png": {
"content": "https://cdn.lysand.org/4f87598d377441e78f3c8cfa7bd7d19d61a7470bfe0abcbee6eb1de87279fb3b/image.webp",
"remote": true,
"blurhash": "U14xf0_N~XRp?btkxaIn$--r%4=~NFniNFad",
"thumbhash": "3PcNNYSFeXh/d3eld0iHZoZgVwh2",
"description": "",
"height": 1051,
"size": 122577,

View file

@ -95,8 +95,8 @@ It is a good idea to provide at least two versions of an image (if possible): on
}
```
</Property>
<Property name="blurhash" type="string" required={false}>
Image in [BlurHash](https://blurha.sh/) format.
<Property name="thumbhash" type="string" required={false}>
Image in [ThumbHash](https://evanw.github.io/thumbhash/) format.
</Property>
<Property name="width" type="number" required={false} numberType="u64">
Width of the content in pixels. Only applicable to content types that have a width.
@ -125,7 +125,7 @@ It is a good idea to provide at least two versions of an image (if possible): on
"hash": {
"sha256": "91714fc336210d459d4f9d9233de663be2b87ffe923f1cfd76ece9d06f7c965d"
},
"blurhash": "UUKJ^v~q9G%L~qRj9GofRjofRjof",
"thumbhash": "3OcRJYB4d3h/iIeHeEh3eIhw+j2w",
"width": 1920,
"height": 1080
}