PNGFiles.jl
October 9, 2024 ยท View on GitHub
FileIO.jl integration for PNG files
Installation
Installation is recommended via the ImageIO thin IO wrapper for FileIO:
pkg> add ImageIO # Press ']' to enter te Pkg REPL mode.
Usage
Once ImageIO is installed, usage is as simple as:
using FileIO
save("img.png", rand(Gray, 100, 100))
img = load("img.png")
Or direct usage, if PNGFiles has been directly installed:
using PNGFiles
PNGFiles.save("img.png", rand(Gray, 100, 100))
img = PNGFiles.load("img.png")