imageio

command module
v0.0.0-...-6d18d67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 10 Imported by: 0

README

imageio

Input / output for image files in Golang

RGB Reader

Read a RGB file from a io.reader.

RGB files are 24 bits true color (8 bits per channels).

img, _ := rgb24.Decode(f, &rgb24.Options{Width: width, Height: height})

RGB Writer

Write a RGB file from a io.writer and go image.

The writer may lose some informations due to the conversion between uint32 into byte.

img,_ := jpeg.Decode(infile)
rgb24.Encode(outfile, img)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL