Method: Vips::Image#maxpos
- Defined in:
- lib/vips8/image.rb
permalink #maxpos ⇒ Real
Return the coordinates of the image maximum.
995 996 997 998 999 1000 |
# File 'lib/vips8/image.rb', line 995 def maxpos v, opts = max :x => true, :y => true x = opts['x'] y = opts['y'] return v, x, y end |