Make sure you set the view size to the same size as you image with something like:
view.ViewSize = [1024, 1024]
if your image is 1024 x 1204 pixels. I think there is something like this commented out in your script produced by the trace.
Make sure you set the view size to the same size as you image with something like:
view.ViewSize = [1024, 1024]
if your image is 1024 x 1204 pixels. I think there is something like this commented out in your script produced by the trace.