Skip to content
Squeegy edited this page Sep 12, 2010 · 9 revisions

Usage

To use any of these operators, simply call it on your image object inside of an operate block. Each operator has different arguments, just like calling a regular method.

@photo.operate do |image|
  image.operator_name(*args)
end

Operator Reference

Crop

crop(options = {})

ImageOverlay

image_overlay(image_overlay_path, options = {})

Shadow

shadow(options = {})

Text

text(string_to_write, options = {})

Trim

trim

UnsharpMask

unsharp_mask(options = {})

Clone this wiki locally