{"repo":"ziap/repalette","free":true,"listed":false,"github":"https://github.com/ziap/repalette","clone":"git clone https://github.com/ziap/repalette.git","description":"Recolor images to a certain palette","language":"Rust","stars":97,"topics":["c","cli","color-scheme","image-processing","wallpaper","wasm"],"license":"AGPL-3.0","category":"cli-tools","readme_excerpt":"Repalette Repalette is an image colorizer written in C and Rust. It is available as both a CLI utility and a web application. Features - Recolor images using nearest neighbor search. - Optional dithering with multisampling for smoother results. - Palette extraction from any image - SIMD accelerated palette search and dithering. - Built-in palette presets bundled into the binary at compile time. - Optimized encoding for small-palette PNG export. Web-version: - WASM-powered web application (mostly for mobile usage) - Support for both text-based and color-picker-based palette editing - Responsive layout and adaptive light/dark theme Usage input.jpg output-no-dither.png output-burkes.png -------------------------- ------------------------------------- ---------------------------------- CLI version Examples: Run repalette --help to learn more Web version Host the website with any server or go to . The user interface: Building You need: - Both: Rust - For native build: Any C compiler that supports C99. - For WASM build: Clang, LLVM, and LLD. Build the native version Build the WASM version Benchmark Recoloring to the 13-color nord palette. Times are wall-clock means from hyperfine; quality is measured against the source (higher PSNR/SSIM = closer to the original). Absolute numbers are hardware dependent, so read them as relative. Dithering speed on full 4K (3840x2160), repalette vs ImageMagick -remap : Tool Command Time ----------- -------------------------------- ------: repalette ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ziap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ziap/repalette/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."}