The Wayback Machine - https://web.archive.org/web/20201221121148/https://github.com/yusukebe/go-pngquant
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

go-pngquant

go-pngquant is PNG image compressor go-library that wrapping pngquant command. pngquant command is required.

https://pngquant.org/

Usage

To install, use go get:

$ go get github.com/yusukebe/go-pngquant

import

import (
    pngquant "github.com/yusukebe/go-pngquant"
)

func Compress

func Compress(i image.Image, speed string) image.Image, error

func CompressBytes

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

License

MIT

Author

Yusuke Wada http://github.com/yusukebe

About

Golang wrapper of pngquant / PNG compressor

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.