-
Notifications
You must be signed in to change notification settings - Fork 53
Operators
Squeegy edited this page Sep 12, 2010
·
9 revisions
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
- OperatorBorder
- OperatorCrop
- OperatorImageOverlay
- OperatorResize
- OperatorShadow
- OperatorText
- OperatorTrim
- OperatorUnsharpMask
crop(options = {})
image_overlay(image_overlay_path, options = {})
shadow(options = {})
text(string_to_write, options = {})
trim
unsharp_mask(options = {})