Home

Awesome

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