implements barcode png img generator