JuliaIO / PNGFiles.jl

FileIO.jl integration for PNG files
MIT License
20 stars 12 forks source link

PNGFiles.jl

FileIO.jl integration for PNG files

Codecov

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")