For web uploading those are all pretty big sizes, there is a...

npub1m64hnkh6rs47fd9x6wk2zdtmdj4qkazt734d22d94ery9zzhne5qw9uaks
hex
f18b91620da69533a6bc7cbded8d26e9a83c0d9afaa7a6ea7f9b0dfb8f8b7bf6nevent
nevent1qqs0rzu3vgx6d9fn5678e00d35nwn2pupkd04faxaflekr0m379hhasprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsda2memtapc2lykjnd8t9px4ake2stw39lg6k49xj6u3jz3pteu6qgpl8a2Kind-1 (TextNote)
↳ 回复 Troy (npub104zp04wlgddf0w84tj8jul3w75e7ydcuuhsull2etste5040xm2qg285rf)
I noticed that some of the pics I uploaded yesterday were ~7-8 Mb. I usually aim for "sub 3 Mb". I also got some errors while uploading a batch, and h...
For web uploading those are all pretty big sizes, there is a lot of optimization that can be done to make web loading work a lot better. Lowering resolution, chroma spectrum and higher jpeg compression can leave you with a image that looks the same when viewed in a social media feed, but will be ordered of magnitude smaller.
Original 5mb - optimized for web 400kb

Original 5mb - optimized for web 56kb

Original 4mb - optimized for web 110kb

原始 JSON
{
"kind": 1,
"id": "f18b91620da69533a6bc7cbded8d26e9a83c0d9afaa7a6ea7f9b0dfb8f8b7bf6",
"pubkey": "deab79dafa1c2be4b4a6d3aca1357b6caa0b744bf46ad529a5ae464288579e68",
"created_at": 1777732765,
"tags": [
[
"alt",
"A short note: For web uploading those are all pretty big sizes, ..."
],
[
"e",
"6c6968ba764c0afe7a92978cc2ef2a3d1c5c54967a95d0542b279194b91b8410",
"wss://theforest.nostr1.com/",
"root",
"7d4417d5df435a97b8f55c8f2e7e2ef533e2371ce5e1cffd595c179a3eaf36d4"
],
[
"e",
"1d46a8db3d2a60e744ae7b10cca68056057c84360b9fb18ddc0b3122595b3b39",
"wss://nostr21.com/",
"",
"7d4417d5df435a97b8f55c8f2e7e2ef533e2371ce5e1cffd595c179a3eaf36d4"
],
[
"e",
"d22fde7ee328a93aaef6c110130387cd58d29d946bbda4020e3d8a95027a88cd",
"wss://spatia-arcana.com/",
"",
"c230edd34ca5c8318bf4592ac056cde37519d395c0904c37ea1c650b8ad4a712"
],
[
"e",
"d03b3441c0e19f7b81bf5e008b75f81f67fa4978dbd6a7b246bf65315feeab58",
"wss://nostr21.com/",
"reply",
"7d4417d5df435a97b8f55c8f2e7e2ef533e2371ce5e1cffd595c179a3eaf36d4"
],
[
"p",
"7d4417d5df435a97b8f55c8f2e7e2ef533e2371ce5e1cffd595c179a3eaf36d4",
"wss://relay.damus.io/"
],
[
"p",
"c230edd34ca5c8318bf4592ac056cde37519d395c0904c37ea1c650b8ad4a712",
"wss://pyramid.fiatjaf.com/"
],
[
"r",
"https://haven.downisontheup.ca/3ef4492f9e5d3d529fd7a9b064aa1a4f93d7b8598dec7048853e02fe2ade67e9.jpg"
],
[
"r",
"https://haven.downisontheup.ca/7386d2e37e3beba0988175af3c8fbef06e41e6f4888a89c4314977b5a88c744a.jpg"
],
[
"r",
"https://haven.downisontheup.ca/d0ee8e97a6a998af05d4e92b125caa7b05287d5849297c6154726ba1c8dbc6e9.jpg"
],
[
"client",
"Amethyst"
]
],
"content": "For web uploading those are all pretty big sizes, there is a lot of optimization that can be done to make web loading work a lot better. Lowering resolution, chroma spectrum and higher jpeg compression can leave you with a image that looks the same when viewed in a social media feed, but will be ordered of magnitude smaller.\n\nOriginal 5mb - optimized for web 400kb\nhttps://haven.downisontheup.ca/d0ee8e97a6a998af05d4e92b125caa7b05287d5849297c6154726ba1c8dbc6e9.jpg\n\nOriginal 5mb - optimized for web 56kb\nhttps://haven.downisontheup.ca/3ef4492f9e5d3d529fd7a9b064aa1a4f93d7b8598dec7048853e02fe2ade67e9.jpg\n\nOriginal 4mb - optimized for web 110kb\nhttps://haven.downisontheup.ca/7386d2e37e3beba0988175af3c8fbef06e41e6f4888a89c4314977b5a88c744a.jpg",
"sig": "1a186791c9e085d457a5e4642dbdfce97e26f6d9e857aebfe486c6afc7a4f8943fa321773643ca40c81fa152deb4faa1c7ad3d7ec37f489822f7fcf060ef7b6f"
}