diff options
| -rw-r--r-- | 17.md | 1 | ||||
| -rw-r--r-- | 68.md | 3 |
2 files changed, 3 insertions, 1 deletions
| @@ -80,6 +80,7 @@ Kind `15` is used for sending encrypted file event messages: | |||
| 80 | - `ox` containing the SHA-256 hexencoded string of the file before encryption. | 80 | - `ox` containing the SHA-256 hexencoded string of the file before encryption. |
| 81 | - `size` (optional) size of the encrypted file in bytes | 81 | - `size` (optional) size of the encrypted file in bytes |
| 82 | - `dim` (optional) size in pixels in the form `<width>x<height>` | 82 | - `dim` (optional) size in pixels in the form `<width>x<height>` |
| 83 | - `thumbhash`(optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the client is loading the file | ||
| 83 | - `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file | 84 | - `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file |
| 84 | - `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce) | 85 | - `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce) |
| 85 | - `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce) | 86 | - `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce) |
| @@ -31,6 +31,7 @@ They may contain multiple images to be displayed as a single post. | |||
| 31 | "imeta", | 31 | "imeta", |
| 32 | "url https://nostr.build/i/my-image.jpg", | 32 | "url https://nostr.build/i/my-image.jpg", |
| 33 | "m image/jpeg", | 33 | "m image/jpeg", |
| 34 | "thumbhash zOcFFIIKmXdCinaXaHcmcHUFSA==", | ||
| 34 | "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", | 35 | "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", |
| 35 | "dim 3024x4032", | 36 | "dim 3024x4032", |
| 36 | "alt A scenic photo overlooking the coast of Costa Rica", | 37 | "alt A scenic photo overlooking the coast of Costa Rica", |
| @@ -42,7 +43,7 @@ They may contain multiple images to be displayed as a single post. | |||
| 42 | "imeta", | 43 | "imeta", |
| 43 | "url https://nostr.build/i/my-image2.jpg", | 44 | "url https://nostr.build/i/my-image2.jpg", |
| 44 | "m image/jpeg", | 45 | "m image/jpeg", |
| 45 | "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", | 46 | "thumbhash zOcFFIIKmXgzmWaXWIcmcFQEGA", |
| 46 | "dim 3024x4032", | 47 | "dim 3024x4032", |
| 47 | "alt Another scenic photo overlooking the coast of Costa Rica", | 48 | "alt Another scenic photo overlooking the coast of Costa Rica", |
| 48 | "x <sha256 hash as specified in NIP 94>", | 49 | "x <sha256 hash as specified in NIP 94>", |