I have to print something to an exact size (precision to within a mm). I have written some python code to create the image, but when I try to print the size is completely wrong.