IRC logs for #farmOS, 2024-07-11 (GMT)

2024-07-10
2024-07-12
TimeNickMessage
[20:48:22]* royills[m] has quit ()
[21:09:42]* yahtu[m] has quit (Quit: Client limit exceeded: 20000)
[22:23:20]<symbioquine[m]>One thing to consider is that it's probably pretty suboptimal to decouple the saving to an image and the printing/page-formatting steps...
[23:33:29]<symbioquine[m]>Much of the much of the map data is in a vector format so the printing/display size should ideally inform the map dimensions prior to exporting the image.
[23:42:10]<paul121[m]><symbioquine[m]> "Much of the much of the map data..." <- That's true, you could definitely use the vectors to optimize this map size. Not sure if you saw this [OL PDF example](https://openlayers.org/en/latest/examples/export-pdf.html), but if you mess with the size & resolution it can differ from the visible map. We talked about was making the export "match" what you see on the map. Its a neat example once you look into it tho!
[00:56:13]* steve456[m]1 has quit ()
[01:28:13]* loisspitz[m] has quit (Quit: Client limit exceeded: 20000)
[03:52:44]* Jo[m] has quit (Quit: Client limit exceeded: 20000)
[10:37:26]* justinestrada[m] has quit (Quit: Client limit exceeded: 20000)
[11:18:39]<symbioquine[m]>> if you mess with the size & resolution it can differ from the visible map.
[11:20:23]<symbioquine[m]>symbioquine[m]: That's partly why I think Jpeg export is a good low hanging fruit feature to add regardless of any bigger "map printing" feature aspirations.
[11:21:55]<paul121[m]>Thoughts on image file formats? :D Seems like browsers can support jpeg, png and webp, but are "required" to support jpeg
[11:36:27]<symbioquine[m]>Probably jpeg and/or png. I think a lot of the map tiles are png so we're probably already "selecting" for browsers that have png support.
[11:37:50]<symbioquine[m]>For satellite backgrounds jpeg is probably better, and otherwise png is probably better - with regards to file size and resulting quality.
[16:14:47]* stampee[m] has quit ()
[19:32:49]* gunter[m] has quit (Quit: Client limit exceeded: 20000)