6 def perspective(top_left, top_right, bottom_left, bottom_right)
7 create_core_image_context(@original.extent.size.width, @original.extent.size.height)
9 @original.perspective_transform :inputTopLeft => top_left, :inputTopRight => top_right, :inputBottomLeft => bottom_left, :inputBottomRight => bottom_right do |transformed|
14 def perspective_tiled(top_left, top_right, bottom_left, bottom_right)
15 create_core_image_context(@original.extent.size.width, @original.extent.size.height)
17 @original.perspective_tile :inputTopLeft => top_left, :inputTopRight => top_right, :inputBottomLeft => bottom_left, :inputBottomRight => bottom_right do |tiled|