CrImage::Operation::Crop
Crops an image
Taking sample image:
# These calls are equivalent
image.crop(40, 30, 80, 80)
image[40...120, 30...110]
Instance methods
[](xrange : Range, yrange : Range) : self
Sourcecrop(x : Int32, y : Int32, new_width : Int32, new_height : Int32) : self
Sourcecrop(region : Region) : self
Sourcecrop!(x : Int32, y : Int32, new_width : Int32, new_height : Int32) : self
Sourcecrop!(region : Region) : self
Source