| height.BitmapImage {R.image} | R Documentation |
Gets the height of the image (in pixels).
## S3 method for class 'BitmapImage': height(this, ...)
... |
Not used. |
Returns an integer.
Henrik Bengtsson (http://www.braju.com/R/)
See also *width() and *dim().
For more information see BitmapImage.
# Read the images 'logosm.ppm' of size 51x38.
logo <- BitmapImage$read("logosm.ppm", path=system.file("images", package="R.image"))
print(height(logo)) # 51