RMagick
magick-wasm
Our great sponsors
RMagick | magick-wasm | |
---|---|---|
6 | 2 | |
692 | 461 | |
0.4% | - | |
8.8 | 9.5 | |
about 17 hours ago | 10 days ago | |
C++ | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RMagick
-
How to use ImageMagick in AWS Lambda (ruby 2.7) with WebP support
require 'rmagick' include Magick module LambdaFunction class Handler def self.process(event:, context:) image_url = event['image_url'] my_image = ImageList.new(image_url) # TODO: Use rmagick to make your image transformations # Docs: https://rmagick.github.io { "success": true } end end end
-
YOLOv7 object detection in Ruby in 10 minutes
mini_magick is much slower than YOLO. I hear that rmagick is well maintained these days, so you may want to use that.
-
Building a Dot Matrix Animator
To accomplish this project, I knew I would need some way to process the input images. Resizing the images was the easy bit. The more complex (and more important) task was to find the best way to relate a pixel's color in the source image to a dot's size in final animation. I felt that the relative luminance as described in this W3 accessibility document was a logical property to use in this case, and can be easily calculated with a color's RGB components. After determining what tasks I needed to fulfill, I determined that the RMagick library would be a good choice for this project.
- API to create an image (with text/details) and display it
- Is there a gem/way to edit an image with custom text
magick-wasm
-
Native JS replacement for imagemagick?
Just a heads up, the official package is @imagemagick/magick-wasm, and the homepage is here: https://github.com/dlemstra/magick-wasm
-
API to create an image (with text/details) and display it
I've not tried it (yet) but the ImageMagick folks list a WASM interface for the library, which means this functionality could (in theory) be done client-side (in the browser) without the need to deal with any API stuff.
What are some alternatives?
MiniMagick - mini replacement for RMagick
WASM-ImageMagick - Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples
ruby-vips - Ruby extension for the libvips image processing library.
jupyterlite - Wasm powered Jupyter running in the browser 💡
IMGKit - Uses wkhtmltoimage to create JPGs and PNGs from HTML
run-wasm - Run WASM based code executions in the browser easily
PSD.rb - Parse Photoshop files in Ruby with ease
doblar - A fully local image converter that runs in your browser.
Phashion - Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files
wasmagic - A WebAssembly compiled version of libmagic with a simple API for Node. WASMagic provides accurate filetype detection with zero prod dependencies
Skeptick - Better ImageMagick for Ruby
Victor - Ruby SVG Image Builder