From df3514a297925f0e8aa3fef7280e6f28b5afeba3 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 6 Aug 2024 16:41:06 +0200 Subject: [PATCH] refactor: :memo: Replace Blurhash with Thumbhash --- app/entities/notes/page.mdx | 4 ++-- app/structures/content-format/page.mdx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/entities/notes/page.mdx b/app/entities/notes/page.mdx index 2eee397..5010018 100644 --- a/app/entities/notes/page.mdx +++ b/app/entities/notes/page.mdx @@ -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, diff --git a/app/structures/content-format/page.mdx b/app/structures/content-format/page.mdx index c11fad2..21226d5 100644 --- a/app/structures/content-format/page.mdx +++ b/app/structures/content-format/page.mdx @@ -95,8 +95,8 @@ It is a good idea to provide at least two versions of an image (if possible): on } ``` - - Image in [BlurHash](https://blurha.sh/) format. + + Image in [ThumbHash](https://evanw.github.io/thumbhash/) format. 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 }