nowfound

Dev tools · June 26, 2025

Rust -> WASM, K-Means Color Quantization Crate for Image-to-Pixel-Art

An open source "Rust ↦ WASM, k-Means Color Quantization" crate for Image-to-Pixel-Art conversions in the browser - gametorch/image_to_pixel_art_wasm

Rust -> WASM, K-Means Color Quantization Crate for Image-to-Pixel-Art launched on June 26, 2025 with 37 votes, #592 of 7,999 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 7% of June 2025

In plain words

This is a Rust crate that converts images to pixel art using K-means color quantization and compiles to WebAssembly. It's designed for developers who need to reduce images to a limited color palette while maintaining visual quality. The tool combines clustering algorithms with WASM compilation, making it suitable for both server-side processing and browser-based applications.

written from the facts on this page · September 2026

From the sources

Try the pixel-art converter instantly at https://gametorch.app/image-to-pixel-art Free forever · no sign-up required · runs 100 % in your browser A tiny Rust → WebAssembly library that turns any raster image into low-color pixel-art . // palette is optional: string[ ] of 6-char HEX, e.g. ["FFAA00", "112233"] // returns { image: Uint8Array, palette: string[ ] } function pixelate ( input : Uint8Array , n_colors : number , scale : number , output_size ?: number , palette ?: string [ ] ) : { image : Uint8Array ; palette : string [ ] } ; It returns PNG-encoded bytes plus the palette actually used (either supplied or discovered). target/wasm32-unknown-unknown/release/image_to_pixel_art_wasm.wasm…from github.com

Does a similar job

all alternatives →
  • Graphite, a Blender-inspired 2D procedural design Rust app2024 · graphite.rs · ▲785

    For the past three years I've been building what I hope will be the next Blender, tackling the lack of any good 2D design or image editing tools outside the Adobe monopoly. This was our first year participating in Google Summer of Code and this Q3 update includes the big payoff from that, covering the most progress we've made so far as a project. If you're a Rust dev, consider getting involved as we apply for the next GSoC in the new year— you could be our intern next summer :) Q3 progress report: https://graphite.rs/blog/graphite-progress-report-q3-2024/

  • RW
    Rust/WASM lighting data toolkit – parses legacy formats, generates SVGsDec 2025 · eulumdat.icu · ▲52

    Hi HN, I'm Holger, a developer who worked in the lighting industry. I built this to scratch my own itch and put it on crates.io and PyPI where nothing like it existed. The old file formats (EULUMDAT from 1990, IES from 1991) still work fine for basic photometry. But the industry is moving toward spectral data – full wavelength distributions instead of just lumen values. The new standards (TM-33, ATLA-S001) are barely supported by existing tools. So this handles both: legacy formats for compatibility, spectral data for anyone who wants to work with the new standards. Stack: Rust core, then…

  • Write generative fine art in Rust2020 · paytonturnage.gitbook.io · ▲306
  • High End Color Quantizer2025 · github.com · ▲123

    This is a personal project I've been working on for a long time now. I stumbled upon the color quantization problem while doing something related for work. I then found an interesting paper for which I could find no implementations online, and the thing went from "let's implement this paper" to getting pretty obsessed with the whole thing. It's at an early, eaaaarly stage. There's a lot of work to be done, and it's a memory hog, but generally speaking works quite well, and the output is for the most part very high quality, so I'm happy to share it as beta.

  • I made a new AI colorizer2022 · palette.fm · ▲472

    Hi HN, I’m Emil, the maker behind Palette. I’ve been tinkering with AI and colorization for about five years. This is my latest colorization model. It’s a text-based AI colorizer, so you can edit the colorizations with natural language. To make it easier to use, I also automatically create captions and generate filters. Let me know what you think. You can see some of my results on my reddit page: https://www.reddit.com/user/emilwallner/?sort=top

  • Tweening web visualisation, in Rust – (WASM)2024 · rustween.mtassoumt.uk · ▲94

    Using wasm-bindgen, and the tween-rs crate

More dev tools this month

the category →
  • /dev/null▲490

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 13h ago · github.com

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

Source: Show HN post ↗

Launched alongside, June 2025

the whole month →
  • IM

    Hey HN! Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history. This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!

    Life & fun · 2025 · jameshard.ing

  • Stunning presentations with AI. No design skills required.

    AI · 2025 · chroniclehq.com

  • Build native mobile apps for iOS and Android without code.

    Dev tools · 2025 · bble.io

  • Twenty▲989

    Build your Enterprise CRM with an AI-friendly SDK

    Dev tools · 2025 · twenty.com

  • All your connections, across all your socials.

    AI · 2025 · pally.com

  • I was the main contributor to workout.lol, an open-source fitness app to easily build a workout routine. The project had traction (1.4k GitHub stars, 95 forks, ~20K visits/month), but was eventually sold due to video licensing hurdles. The new owner stopped maintaining it, and the repo went abandoned. Over the next 9 months, I sent 15 emails to try to save it : no replies. Feature requests & issues were ignored. The community was left with a "broken" tool let's say. I couldn't just let it die So I built the new version from scratch with the same open-source spirit, but a better…

    Dev tools · 2025 · github.com