[−][src]Function gdl::presets::postcard
pub fn postcard(
background_img: &DynamicImage,
main_text: &str,
_small_text: &str,
width: u32,
height: u32
) -> DynamicImage
Preset: Postcard-style image, featuring main text overlayed onto the image.
Arguments
img
- A mutable ref to a DynamicImage.main_text
- Main heading for the graphic.small_text
- Sub-heading/smaller text.width
- u32 - Desired width of final graphicheight
- ù32 - Desired height of final graphic