image_width_resize: Resize Image Width

Description Usage Arguments Value

View source: R/image_width_resize.R

Description

Generate the values needed for magick::image_resize() to scale barcodes width relative to the DOB barcode

Usage

1
image_width_resize(barcode_image)

Arguments

barcode_imaage

a magick-image of barcode that has read in using magick::image_read()

Value

a character string of formatted width and height (ie, '93%x100%)


aberWARU/bronglaisBarcodes documentation built on Dec. 13, 2021, 12:46 a.m.