Description Usage Arguments Value Examples
This function crops image.
1 | imgCrop(imgdata, x_start, y_start, c_width, c_height)
|
imgdata |
The image |
x_start |
Upper left x coordinate of source block |
y_start |
Upper left y coordinate of source block |
c_width |
Width of the block to crop |
c_height |
Height of the block to crop |
return an imagedata object
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgCrop(x, 100, 50, 100, 50)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.