#!/usr/bin/env python3
"""Crop the Settings header and tested row; black out only the private host name."""
import sys
from PIL import Image,ImageDraw
image=Image.open(sys.argv[1])
scale=image.width/1280
box=tuple(round(v*scale) for v in (300,95,1200,210))
image=image.crop(box)
draw=ImageDraw.Draw(image)
draw.rectangle(tuple(round(v*scale) for v in (80,66,380,85)),fill='black')
image.save(sys.argv[2])
