I added another example. It shows how to put WeeWX weather data onto a 
webcam picture.

Webcam picture with WeeWX weather readings 
<https://github.com/roe-dl/weewx-svg2png/tree/master/examples/webcam-with-weather-data>

Stefan Gliessmann schrieb am Donnerstag, 5. Oktober 2023 um 14:21:44 UTC+2:

> Awesome!
>
> I will give it a shoot later and let you know :)
>
> Thanks in advance for your contributions!!!!
>
> On Tuesday, October 3, 2023 at 4:15:11 PM UTC+2 Karen K wrote:
>
>> If there is a link in a social media post, sites like Twitter (X), 
>> Mastodon and others show a preview image or thumbnail of the linked page. 
>> For a long time I wondered how to define that image. Then I found out they 
>> look for special "meta" statements within the page header. I included such 
>> statements in my weather website, and indeed, the respective images were 
>> displayed.
>>
>> I used a screenshot for that purpose. But the screenshot said 3,8°C, and 
>> it's summer time and temperatures are much higher. And I wondered how to 
>> get actual data into that screenshot. So I thought I could create an SVG 
>> file using the CheetahGenerator functionality of WeeWX, and convert it to 
>> PNG afterwards. I found the CairoSVG package to do the converting job. 
>>
>> But how to do the conversion after WeeWX created the SVG file, but before 
>> WeeWX sends the data to the web server?
>>
>> The answer is to write a generator for use in skins. And that's it: 
>> weewx-svg2png <https://github.com/roe-dl/weewx-svg2png>
>>
>> Now I look what is happening, and meanwhile I publish the generator here.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a4dfa6cd-44ca-4803-8f16-b0dcfd4f645dn%40googlegroups.com.

Reply via email to