IBarcodeGenerator.get_barcode_image method. Generate barcode image using the set of parameters (for DisplayBarcode field).... Draw ( img ) font = ImageFont . load_default () d . text...text (( 10 , 40 ), error , font = font , fill = ( 255 , 0 , 0 ))...