forecastr v0.1.4 Forecastr.Renderer.PNG

PNG renderer Render from a list of text to PNG

Currently the PNG is generated only from the current weather forecast coming from the Forecastr.OWM module

The PNG will be written to the file system based on the :image_path Application variable.

Link to this section Summary

Functions

Render a map coming from the backend (OWM API currently) to a PNG Return the image name

Render a PNG from an ascii and a city name

Link to this section Functions

Link to this function render(map)
render(map()) :: String.t()

Render a map coming from the backend (OWM API currently) to a PNG Return the image name.

Link to this function render_png(ascii, city_name)
render_png(list(), String.t()) :: String.t()

Render a PNG from an ascii and a city name