{"repo":"anthonynsimon/bild","free":true,"listed":false,"github":"https://github.com/anthonynsimon/bild","clone":"git clone https://github.com/anthonynsimon/bild.git","description":"Image processing algorithms in pure Go","language":"Go","stars":4203,"topics":["algorithm","parallelism","histogram","image-processing","signal-processing","effects","image-editing","go","concurrency","resize"],"license":"MIT","category":"media-processing","readme_excerpt":"bild A collection of parallel image processing algorithms in pure Go. The aim of this project is simplicity in use and development over absolute high performance, but most algorithms are designed to be efficient and make use of parallelism when available. It uses packages from the standard library whenever possible to reduce dependency use and development abstractions. All operations return image types from the standard library. Documentation The documentation for the various packages is available here. CLI usage Download and compile from sources: Or get the pre-compiled binaries for your platform on the releases page For example, to apply a median effect with a radius of 1.5 on the image input.png , writing the result into a new file called output.png : To resize an image to 800x600 using the lanczos filter: To rotate an image 90 degrees clockwise, expanding bounds to fit: To crop an image to a specific region: To convert an image to another format (the encoder is chosen from the output extension): Install package bild requires Go version 1.25 or greater. Basic package usage example: Supported formats imgio.Open decodes PNG, JPEG, BMP and WebP images. The following encoders are available: - imgio.PNGEncoder() - imgio.JPEGEncoder(quality) - imgio.BMPEncoder() - imgio.WEBPEncoder(options) — pass nil for defaults The CLI selects the encoder from the output file extension ( .png , .jpg / .jpeg , .bmp , .webp ). Output examples Adjustment import \"github.com/anthonynsimon/bild/adj","default_branch":null,"files":null,"tree":[],"storefront":"/r/anthonynsimon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anthonynsimon/bild/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}