meme_text_top.Rd
Place text in the meme
meme_text_top(img, txt, font = "Impact", color = "white", strokecolor = "black", gravity = "North", size = 44, ...) meme_text_bottom(img, txt, font = "Impact", color = "white", strokecolor = "black", gravity = "South", size = 44, ...)
img | An image of class |
---|---|
txt | A character string |
font | string with font family such as `"sans"`, `"mono"`, `"serif"`, `"Times"`, `"Helvetica"`, `"Trebuchet"`, `"Georgia"`, `"Palatino"` or `"Comic Sans"`. |
color | a valid [color string](https://www.imagemagick.org/Magick++/Color.html) such as `"navyblue"` or `"#000080"` |
strokecolor | a [color string](https://www.imagemagick.org/Magick++/Color.html) adds a stroke (border around the text) |
gravity | string with [gravity](https://www.imagemagick.org/Magick++/Enumerations.html#GravityType) value from [gravity_types]. |
size | font-size in pixels |
... | Arguments passed on to |
meme_text_top
: Place text in center top of meme
meme_text_bottom
: Place text in bottom center of meme
#> # A tibble: 1 x 7 #> format width height colorspace matte filesize density #> <chr> <int> <int> <chr> <lgl> <int> <chr> #> 1 PNG 500 297 sRGB TRUE 0 28x28#> # A tibble: 1 x 7 #> format width height colorspace matte filesize density #> <chr> <int> <int> <chr> <lgl> <int> <chr> #> 1 PNG 500 375 sRGB TRUE 0 28x28