Skip to content

Commit c112ee5

Browse files
committed
fix: add missing docs for "straighten" option and clarify the unit for "angle" option
1 parent 569aa1b commit c112ee5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/morandi.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ module Morandi
2323
# @option options [Float] 'gamma' Gamma correct image
2424
# @option options [Integer] 'contrast' Change image contrast (-20..20)
2525
# @option options [Integer] 'sharpen' Sharpen (1..5) / Blur (-1..-5)
26+
# @option options [Integer] 'straighten' Rotate by a small angle (in degrees) and zoom in to fill the size
2627
# @option options [Array[[Integer,Integer],...]] 'redeye' Apply redeye correction at point
27-
# @option options [Integer] 'angle' Rotate image clockwise by multiple of 90 (0, 90, 180, 270)
28+
# @option options [Integer] 'angle' Rotate image clockwise by multiple of 90 degrees (0, 90, 180, 270)
2829
# @option options [Array[Integer,Integer,Integer,Integer]] 'crop' Crop image (x, y, width, height)
2930
# @option options [String] 'fx' Apply colour filters ('greyscale', 'sepia', 'bluetone')
3031
# @option options [String] 'border-style' Set border style ('square', 'retro')

0 commit comments

Comments
 (0)