Rust image-manipulation

Open-source Rust projects categorized as image-manipulation

Top 5 Rust image-manipulation Projects

  • Graphite

    2D raster & vector editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.

  • Project mention: 3D and 2D: Testing out my cross-platform graphics engine | news.ycombinator.com | 2024-04-02
  • imageflow

    High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • photon

    ⚡ Rust/WebAssembly image processing library (by silvia-odwyer)

  • Project mention: Show HN: OS Image processing API running on edge functions using Rust and WASM | news.ycombinator.com | 2024-04-04

    Image processing/transformations with built-in CDNs is one of the more common solutions you would find out there but can get pretty expensive and locked in over time.

    Vercel is a good example that provides a built-in “next/image” solution for the NextJS framework that optimises images for better performance, however, it gets very expensive as you scale.

    Alternatively, running your own service with one of the most common image processing libraries like SharpJS is great but can get pretty difficult to run in a serverless environment with CDNs and all the other bells and whistles alongside all your other code while the cold startup time of Sharp in a serverless environment can be pretty brutal.

    With all the growth around rebuilding engines in Rust for performance gains, I thought there must be an image processing library written in Rust which could be compiled to WebAssembly (WASM) and run way faster. That’s when I discovered Photon https://github.com/silvia-odwyer/photon by Silvia, who has done amazing work with the library.

    This eventually led me to discover https://github.com/fineshopdesign/cf-wasm/tree/main/packages... that has already transcribed the Photon package into a WASM binary for easy use in edge v8 environments like Cloudflare workers or NextJS Edge functions.

    Using these packages I built an API layer on the NextJS framework allowing you to easily process local and remote images at blazing fast speeds with a bunch of helper functions making it similar to use as most paid Image processing APIs. If hosted on Vercel, you can make use of the built-in CDN cache for files less than 10 MB at no extra charge with Edge caching.

    Some of the features:

    - Blazing fast image processing

    - Fully serverless, runs on Vercel Edge functions

    - Resize, crop, compress, tint, rotate, format and more

    - Global distribution with Edge functions

    - Automated CDN cache with Edge functions

    - Replacement for `next/image` processing on Vercel

    - Local and remote image processing

    Some problems:

    - The Photon lib has last been updated in 2020

    - There are still a few obvious bugs when using it for more advanced requirements like 8k image processing on edge function due to poor memory management in Rust

    - No sexy features right now like AI image optimisation and selective background blurring

    - If you are looking for an all-in-one solution with Image Storage + image processing/CDN, this is not it (something we will be releasing soon on JigsawStack.com)

    I think the Photon library and the API have a lot more potential for growth and will be hoping for more contributions from the community as Rust gets more popular!

  • menyoki

    Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️

  • simp

    🖼️ Simp is a fast and simple GPU-accelerated image manipulation program. (by Kl4rry)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-04.

Rust image-manipulation related posts

Index

What are some of the best open-source image-manipulation projects in Rust? This list will help you:

Project Stars
1 Graphite 6,356
2 imageflow 4,106
3 photon 2,472
4 menyoki 564
5 simp 270
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com