rsim v0.1.0 Rsim.ImageDownloader View Source

Image Downloader, downloads image to tmp path

Link to this section Summary

Functions

Creates image from provided URL {:ok, tmp_path} = Rsim.ImageDownloader.to_tmp_file(“http://example.com/image.png”)

Link to this section Functions

Link to this function to_tmp_file(url) View Source
to_tmp_file(String.t()) :: {:ok, String.t()} | {:error, String.t()}

Creates image from provided URL {:ok, tmp_path} = Rsim.ImageDownloader.to_tmp_file(“http://example.com/image.png”)