diff --git a/Docker/annotate_header.py b/Docker/annotate_header.py index ed93294..11d678a 100644 --- a/Docker/annotate_header.py +++ b/Docker/annotate_header.py @@ -110,6 +110,7 @@ with Image.open(output_file) as im: if len(found_needles) == 0: exit(0) os.remove(output_file) + im = im.crop((0, 24, 2880, 1588)) im = im.resize((im.width // 2, im.height // 2)) output_filename = domain.replace(".", "_") + "_" + output_suffix im.save(output_dir + "/" + output_filename, "PNG")