What is the injection start with m
mkdir -p /tmp/workspace/rx && cd /tmp/workspace/rx && python3 -c " from PIL import Image img = Image.open('/tmp/workspace/attachments/85aa12cb-dedd-457c-8277-c2f186f000c7/99ddae13-4101-44ba-992a-526e094bdbb6.jpeg') print(img.size) rot = img.rotate(-90, expand=True) rot.save('rotated.jpg') print(rot.size) "
cd /tmp/workspace/rx && python3 -c " from PIL import Image img = Image.open('/tmp/workspace/attachments/85aa12cb-dedd-457c-8277-c2f186f000c7/99ddae13-4101-44ba-992a-526e094bdbb6.jpeg') rot = img.rotate(90, expand=True) rot.save('rotated2.jpg') print(rot.size) "
cd /tmp/workspace/rx && python3 -c " from PIL import Image img = Image.open('rotated2.jpg') w,h = img.size print(w,h) # crop middle section with drug names, rows approx y=480 to 1000 crop = img.crop((0, 450, w, 1050)) crop = crop.resize((crop.width*3, crop.height*3), Image.LANCZOS) crop.save('zoom1.jpg') "