[][src]Function wifiqr::code::make_image

pub fn make_image(
    qrcode: &QrCode,
    scale: i32,
    border_size: i32
) -> ImageBuffer<LumaA<u8>, Vec<u8>>

returns an ImageBuffer<> that can be saved using save_image(), or passed on for further manipulation by the caller

  • qrcode: Is an encoded qrcode

  • scale: The scaling factor to apply to the qrcode

  • border_size: How large to make the quiet zone