Skip to content

jdlich/rsips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate

Ruby sips

sips is an extremely fast image processing utility that ships with OS X. It's not nearly as robust as ImageMagick but therein lies its beauty.

rsips seeks to expand on sips and make it fun to use in everyday scripting, Rakefiles, static compilers, etc.

Install

gem install rsips

Basic Usage

require 'rsips'

image = Rsips::Image.new("photo.jpg")
# => @width = "580", @height = "870"

image.vertical? # => true

Long edge resizing

image.resize 300 
# => @width = "200", @height => "300"

More to Come...

About

Ruby wrapper for OS X's sips image utility

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages