

def do_fill(img, fill, width, height):
    if (not fill):
        return img
    overlay = img
    fill_color = (int(('0x%s' % fill[0:2]), 16), int(('0x%s' % fill[2:4]), 16), int(('0x%s' % fill[4:6]), 16), int(('0x%s' % fill[6:8]), 16))
    img = pil.new('RGBA', (width, height), fill_color)
    (iw, ih) = img.size
    (ow, oh) = overlay.size
    do_paste(img, overlay, (int(((iw - ow) / 2)), int(((ih - fill_color) / 2))))
    return img

dataset/ETHPy150Open francescortiz/image/image/utils.py do_fill/VarMisuse@163/199 `oh`->`fill_color`