{"id":19702708,"url":"https://github.com/ultimate-guitar/go-imagequant","last_synced_at":"2025-04-29T14:30:34.133Z","repository":{"id":57493424,"uuid":"124403258","full_name":"ultimate-guitar/go-imagequant","owner":"ultimate-guitar","description":"Go bindings for libimagequant","archived":false,"fork":false,"pushed_at":"2020-12-16T10:39:13.000Z","size":103,"stargazers_count":53,"open_issues_count":2,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T17:43:49.500Z","etag":null,"topics":["bindings","cgo","golang","image-compression","image-processing","libimagequant","pngquant","pngquant-library"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ultimate-guitar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-08T14:29:37.000Z","updated_at":"2024-11-28T14:35:42.000Z","dependencies_parsed_at":"2022-08-28T15:13:06.685Z","dependency_job_id":null,"html_url":"https://github.com/ultimate-guitar/go-imagequant","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimate-guitar%2Fgo-imagequant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimate-guitar%2Fgo-imagequant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimate-guitar%2Fgo-imagequant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimate-guitar%2Fgo-imagequant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ultimate-guitar","download_url":"https://codeload.github.com/ultimate-guitar/go-imagequant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251518724,"owners_count":21602202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bindings","cgo","golang","image-compression","image-processing","libimagequant","pngquant","pngquant-library"],"created_at":"2024-11-11T21:15:56.102Z","updated_at":"2025-04-29T14:30:33.581Z","avatar_url":"https://github.com/ultimate-guitar.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-ImageQuant\n[![Go Report Card](https://goreportcard.com/badge/github.com/ultimate-guitar/go-imagequant)](https://goreportcard.com/report/github.com/ultimate-guitar/go-imagequant) [![Build Status](https://travis-ci.org/ultimate-guitar/go-imagequant.svg?branch=master)](https://travis-ci.org/ultimate-guitar/go-imagequant) [![GoDoc](https://godoc.org/github.com/ultimate-guitar/go-imagequant?status.svg)](https://godoc.org/github.com/ultimate-guitar/go-imagequant)\n## ABOUT\nThis is Go bindings for libimagequant.\n\nLibimagequant is the backend of pngquant app. It provides a high level of png image compression.\n\nLibimagequant is a library for lossy recompression of PNG images to reduce their filesize.  This go-imagequant project is a set of bindings for libimagequant to enable its use from the Go programming language.\n\nThis binding was written by hand. The result is somewhat more idiomatic than an automated conversion, but some  defer foo.Release() calls are required for memory management.\n\nThis project forked from [https://code.ivysaur.me/go-imagequant/](https://code.ivysaur.me/go-imagequant/) repo.\n\n## USAGE\nUsage example is provided by a sample utility cmd/gopngquant which mimics some functionality of the upstream pngquant.\n\nThe sample utility has the following options:\n\n```\nUsage of gopngquant:\n  -In string\n        Input filename\n  -Out string\n        Output filename\n  -Speed int\n        Speed (1 slowest, 10 fastest) (default: 3)\n  -Compression int\n        Compression level (DefaultCompression = 0, NoCompression = -1, BestSpeed = -2, BestCompression = -3) (default: BestCompression )\n  -Version\n```\n\n## BUILDING\n\nInstall a C11 compiler and simply `go get github.com/ultimate-guitar/go-imagequant`.\n\n## LICENSE\nI am releasing this binding under the ISC license, however, libimagequant itself is released under GPLv3-or-later and/or commercial licenses. You must comply with the terms of such a license when using this binding in a Go project.\n\n## CHANGELOG\n\nSee [CHANGELOG](CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultimate-guitar%2Fgo-imagequant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultimate-guitar%2Fgo-imagequant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultimate-guitar%2Fgo-imagequant/lists"}