Description Usage Arguments Value See Also Examples
Convert bbx to magick-geometry
1 2 3 |
bbx |
character vector of bounding boxes to be converted to geometries |
g |
character vector of geometries to be converted to bbxes |
character vector of magick-compliant geometry string representing bounding box area in the format "width x height +x_off +y_off" (https://www.imagemagick.org/Magick++/Geometry.html)
[magick::geometry] for converting integers (four individual columns) to geometry
1 2 3 4 | # area from c(0,0) to c(100,200) counting from top left
bbx_to_geometry("0 0 100 200")
bbx_to_geometry(c("0 0 100 200", "100,100,200, 200"))
geometry_to_bbx(c("100x200+12+14", "100x200", "+12+14", "x200+12+14"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.