Mike Dilger on Nostr: Gossip processes downloaded images. It has a setting for which image resize algorithm ...
Gossip processes downloaded images. It has a setting for which image resize algorithm to use (Nearst, Triangle, CatmullRom, Gaussian, Lanczos3). This is to avoid gigantic images, and to make the images fit better. It also rounds avatar images.
The point of downloading the image in gossip is to show it. If people want originals, the URLs are there and clickable and you can open images in your browser (not for avatars though).
Published at
2024-04-09 21:16:23Event JSON
{
"id": "dd31edc96b2ec7f5621ff467cba3d4976c7749c6076a6ae2a257b7fc2bf88de7",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1712697383,
"kind": 1,
"tags": [
[
"p",
"4eb88310d6b4ed95c6d66a395b3d3cf559b85faec8f7691dafd405a92e055d6d"
],
[
"e",
"78caeb26ff357df2bd0f66232b97069ab74d6e623cdfcb2a4ba65062fc00bb04",
"wss://nostr.einundzwanzig.space/",
"root"
]
],
"content": "Gossip processes downloaded images. It has a setting for which image resize algorithm to use (Nearst, Triangle, CatmullRom, Gaussian, Lanczos3). This is to avoid gigantic images, and to make the images fit better. It also rounds avatar images.\n\nThe point of downloading the image in gossip is to show it. If people want originals, the URLs are there and clickable and you can open images in your browser (not for avatars though).",
"sig": "581832b76e300f87d97a113fb07e1275765b9c67842240eeace45844f1eeb6731b1d17655f561c95afe4cc538ed9297f220b86bbbb9087714451ddf0df5871ca"
}