elixir write base64 для файла
{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])
The First Avenger
{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])