Registry / utility / image-science

image-science

JSON →
library1.3.2rbrubygemsunverified

ImageScience is a clean and happy Ruby library that generates thumbnails without leaking memory like RMagick.

gem install image_science
INSTALL
IMPORT
SIG · IMAGE-SCIENCE
I
image-science
utilityrubyv1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ImageScience
require 'image_science'

Generate a 100px thumbnail from an image

require "image_science" ImageScience.with_image("input.jpg") do |img| img.thumbnail(100) do |thumb| thumb.save("thumb.jpg") end end
Debug
Known issues
gotchaRequires FreeImage or ImageScience native library to be installed.
fix
Install the FreeImage library via your system package manager (e.g., apt-get install libfreeimage-dev).
affects: >= 1.0.0
Upgrade
Version history
1.3.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
image-science — gem install image-science · libregistry