Eugene Alvin Villar on Nostr: Processing this map took longer than I expected because it was divided into 10710 ...
Processing this map took longer than I expected because it was divided into 10710 tiles of 256×256 pixels each. I had to write a JS script to fetch all of these tiles and stitch them into larger tiles of 7680×7680-pixel images before combining then cropping them using GIMP into the final 22,860×30,116-pixel behemoth. I ran into various memory limitations because Firefox and GIMP had trouble working with these huge images.
3/3
Published at
2024-09-04 03:36:47Event JSON
{
"id": "a026170b32581e516725976a5bf454b834a22200d1d9674706dec4d33300963a",
"pubkey": "fe4a1c93ec6df252fc1699d5b62fe769d1afcbf0dbee1d3527b76a8759e657e6",
"created_at": 1725421007,
"kind": 1,
"tags": [
[
"e",
"c5a60a2fe11c0e08a166ff8167db91e6240049248ad67a0f6e26cc6085b28d32",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://en.osm.town/users/seav/statuses/113077191126871299",
"activitypub"
]
],
"content": "Processing this map took longer than I expected because it was divided into 10710 tiles of 256×256 pixels each. I had to write a JS script to fetch all of these tiles and stitch them into larger tiles of 7680×7680-pixel images before combining then cropping them using GIMP into the final 22,860×30,116-pixel behemoth. I ran into various memory limitations because Firefox and GIMP had trouble working with these huge images.\n\n3/3",
"sig": "26794930655cdafcdd21d15318beffb4ff18fbe56d1f3f0e490e14dbaffc2c0ec1ac7760d74205d2f7ea7757e931af8a999963c0b40f622f5f5c2deefa934bc9"
}