coinzdude on Nostr: That explains a lot. Literally <5k probably down to 2000 bytes, even configurable, ...
That explains a lot. Literally <5k probably down to 2000 bytes, even configurable, would be fine for these thumbnails, scrolling is currently very janky. Unless the user individually requested a full size profile preview like Twitter. C# has brilliantly fast image resizing but that might only be due to Windows GDI. I made a 'facebook user profile image library' for a very similar problem years back. If there's a utility lib for Java/Android, these reduced images could go into a cache pool, and all be done in the client without a proxy online. I'm going library hunting.
Published at
2023-02-15 05:32:48Event JSON
{
"id": "a4b2f7ee2b1c09b90f62c127f1b25b0a5f070b2593c3cd055f39ac33d1213c0a",
"pubkey": "459b572d8692d4c813782fda8d8e35f8d862cb5bb520f5f8d907e0d7ba893a9d",
"created_at": 1676439168,
"kind": 1,
"tags": [
[
"e",
"3c7d0c768f27082066ffae05597c5fc1d78b6f1c54b43058ae357167b014759f"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "That explains a lot. Literally \u003c5k probably down to 2000 bytes, even configurable, would be fine for these thumbnails, scrolling is currently very janky. Unless the user individually requested a full size profile preview like Twitter. C# has brilliantly fast image resizing but that might only be due to Windows GDI. I made a 'facebook user profile image library' for a very similar problem years back. If there's a utility lib for Java/Android, these reduced images could go into a cache pool, and all be done in the client without a proxy online. I'm going library hunting.",
"sig": "a44133d70de7af4e6af4dbdd1765c758ab85bad469cbc6709941eba2895b5f2327c54babc2b8babfe60412f18a09d48ba24c99bf80b8977b3099bfaf96eab498"
}