{"id":20279165,"url":"https://github.com/peterhellberg/lossypng","last_synced_at":"2025-04-11T06:19:18.608Z","repository":{"id":57488790,"uuid":"39151441","full_name":"peterhellberg/lossypng","owner":"peterhellberg","description":"Library version of the lossypng command line tool by @foobaz","archived":false,"fork":false,"pushed_at":"2017-01-30T15:49:37.000Z","size":15,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T04:13:26.378Z","etag":null,"topics":["go","lossy","png"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterhellberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-15T17:41:00.000Z","updated_at":"2024-03-11T21:23:55.000Z","dependencies_parsed_at":"2022-08-29T15:02:03.946Z","dependency_job_id":null,"html_url":"https://github.com/peterhellberg/lossypng","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Flossypng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Flossypng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Flossypng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Flossypng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/lossypng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351783,"owners_count":21089340,"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":["go","lossy","png"],"created_at":"2024-11-14T13:28:40.776Z","updated_at":"2025-04-11T06:19:18.589Z","avatar_url":"https://github.com/peterhellberg.png","language":"Go","readme":"***Warning: This library should probably not be used just yet***\n\n# lossypng\n\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/peterhellberg/lossypng)\n\nLibrary version of the [lossypng](https://github.com/foobaz/lossypng) command line tool.\n\n\u003e Shrink PNG files by applying a lossy filter\n\n## Installation\n\n    go get -u github.com/peterhellberg/lossypng\n\nFeel free to copy all or parts of this package into your own codebase.\n\n## Examples\n\n### Original image `320 KB`\n\n![Original image](http://assets.c7.se/lossypng/dakar-original.png)\n\nThe optimized images were encoded to PNG using a `png.Encoder{png.BestCompression}`\n\n### Optimize(m, RGBAConversion, 10) `156 KB`\n\n![Optimize(m, RGBAConversion, 10)](http://assets.c7.se/lossypng/dakar-rgba-10.png)\n\n### Optimize(m, GrayscaleConversion, 10) `40 KB`\n\n![Optimize(m, GrayscaleConversion, 10)](http://assets.c7.se/lossypng/dakar-grayscale-10.png)\n\n## Credit\n\nThis compression technique was invented by Michael Vinther for his excellent\nWindows program, [Image Analyzer](http://meesoft.logicnet.dk/Analyzer/). It\ndoes much more than just compression. It was ported and improved by\n[William MacKay](https://github.com/foobaz/lossypng).\n\nI have just converted it into a library.\n\n## License\n\nAll code in lossypng is public domain. You may use it however you wish.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Flossypng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Flossypng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Flossypng/lists"}