forecastr v0.2.5 Forecastr.Renderer.PNG

PNG renderer Render from a list of text to PNG

The PNG will be written returned as binary buffer.

Link to this section Summary

Functions

Render a map coming from the backend

Render a map with the binary of the PNG and the name of the city from an ascii and a city name

Link to this section Functions

Link to this function

render(map)
render(map()) :: map()

Render a map coming from the backend

Link to this function

render_png(ascii, city_name)
render_png(list(), String.t()) :: map()

Render a map with the binary of the PNG and the name of the city from an ascii and a city name