chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.38k stars 1.1k forks source link

V2 webpage broken: `PNG support temporary disabled` #928

Open beta-tester opened 11 months ago

beta-tester commented 11 months ago

hi, since fey weeks, the V2 page does not show the PNG with the temperature graph, ... anymore.

gives me: Screenshot 2023-10-10 at 07-15-47 Weather report for Berlin

beta-tester commented 10 months ago

still not working. when i open the broken picture in a new tab, is just shows:

PNG support temporary disabled

don't know if this message comes from the firefox browser or if it comes from the wttr.in server

beta-tester commented 10 months ago

it is related to the issue: https://github.com/chubin/wttr.in/issues/919

chubin commented 10 months ago

Yes, it is #919 basically

shrihari1999 commented 2 months ago

@chubin I've been using png image (after my own processing of the image) for quite a while now. Very sad to see it not working for almost a year. Any plans of bringing it back? 2022-10-28-022157_1440x900_scrot

vitich commented 1 week ago

Just install phantomjs and imagemagick

${voffset 65} ${texeci 30 phantomjs $HOME/phantomjs/rasterize.js http://wttr.in/Kyiv /dev/stdout | convert - -crop 200x140+0+0 -transparent black /tmp/wttr.png} ${image /tmp/wttr.png -p}

Screenshot_2024-09-06_06-29-14