This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
OperatorCrop
crop(options = {})
Crops the image without doing any resizing first. The operation crops from the :from coordinate, and returns an image of size :size down and right from there.
Use the following keys in the options hash:
:from
Coordinates for the upper left corner of resulting image.
:size
The size of the resulting image, going down and to the right of the:fromcoordinate.
Both options are required.
Example
@photo.operate do |image|
image.crop(
:from => '100x50',
:size => '500x350'
)
end






