Method: Processing::Image#size

Defined in:
lib/processing/image.rb

#sizeArray<Numeric>

Returns the width and height of image.

Returns:

  • (Array<Numeric>)
    width, height


48
49
50
# File 'lib/processing/image.rb', line 48

def size()
  [width, height]
end