Go Pngquant Save

Golang wrapper of pngquant / PNG compressor

Project README

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

Open Source Agenda is not affiliated with "Go Pngquant" Project. README Source: yusukebe/go-pngquant
Stars
29
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating