# \#base64

**URL:** https://discourse.julialang.org/tag/base64/652.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [How to base64 encode a rasterized image for embedding it into SVG?](https://discourse.julialang.org/t/how-to-base64-encode-a-rasterized-image-for-embedding-it-into-svg/90848)

<div class="topic-metadata">

**Author:** [@fatteneder](https://discourse.julialang.org/u/fatteneder)\
**Replies:** 7\
**Last updated:** [November 26, 2022, 3:15pm UTC](https://discourse.julialang.org/t/how-to-base64-encode-a-rasterized-image-for-embedding-it-into-svg/90848 "2022-11-26T15:15:30Z")

</div>

Below I try to do this using just the Base64 module. MWE using Base64 using Downloads using FileIO path = Downloads.download("https://github.com/MakieOrg/Makie.jl/raw/master/assets/doge.png") img = load(path) # reduc…

---

## [Read .mat file from base64](https://discourse.julialang.org/t/read-mat-file-from-base64/58217)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 1:35pm UTC](https://discourse.julialang.org/t/read-mat-file-from-base64/58217 "2021-03-30T13:35:36Z")

</div>

Suppose I have the following based64 encoded .mat file: using MAT using Base64 mat\_enc = open(base64encode, "01.mat") mat\_dec = base64decode(mat\_enc) open("my\_01.mat", "w") do f write(f, mat\_dec) end data = matread("m…
