| width.BitmapImage {R.image} | R Documentation |
Gets the width of the image (in pixels).
## S3 method for class 'BitmapImage': width(this, ...)
... |
Not used. |
Returns an integer.
Henrik Bengtsson (http://www.braju.com/R/)
See also *height() 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(width(logo)) # 38