optipng

package module
v0.0.0-...-8dd68d7 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 5 Imported by: 0

README

go-optipng

Golang wrapper of optipng / Advanced PNG Optimizer optipng command is required.

http://optipng.sourceforge.net/

Usage

To install, use go get:

$ go get github.com/AKovalevich/go-optipng
import
import (
    optipng "github.com/AKovalevich/go-optipng"
)
func Compress

func Compress(i image.Image, args []string) image.Image, error

func CompressBytes

func CompressBytes(b []byte, args []string) []bytes, error

License

MIT

Author

Kovalevich Artem https://github.com/AKovalevich

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(input image.Image, args []string) (output image.Image, err error)

func CompressBytes

func CompressBytes(input []byte, args []string) (output []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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