➤ 透過 Rust 和 WebAssembly 實現瀏覽器內的圖像像素化
✤ https://github.com/gametorch/image_to_pixel_art_wasm
這個 GitHub 專案 `gametorch/image_to_pixel_art_wasm` 是一個使用 Rust 編譯為 WebAssembly 的開源函式庫,可以在瀏覽器中將任何圖片轉換為低色彩的像素藝術。它利用 K-means 演算法提取調色盤,並支援使用者自定義顏色數量或提供自己的調色盤。此函式庫保持透明度不變,並提供純客戶端處理功能,無需任何伺服器端操作。
+ 「這個函式庫太棒了!可以直接在瀏覽器中使用,而且速度很快,非常適合製作遊戲素材或藝術作品。」
+ 「Rust 編譯成 WASM 的效能真的令人印象深刻,這個專案簡潔易用,而且功能完善。」
#開源專案 #WebAssembly #圖像處理 #像素藝術

GitHub - gametorch/image_to_pixel_art_wasm: An open source "Rust ↦ WASM, k-Means Color Quantization" crate for Image-to-Pixel-Art conversions in the browser
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