So I skipped a few of the first pages to get to the first left page with full content. I selected four corners in the text block, right clicked, and selected Fix Perspective. Then I chose two corners, right clicked, and selected Crop. BSW threw an exception:
- Code: Select all
java.lang.IllegalArgumentException: Crop The rectangular crop area must not be outside the image. for 863,792, 5849,8043 # BSW_0008 L (IMG_0007)
The relevant script:
- Code: Select all
########################################################################
### Insert commands to fix keystone, color, etc.
Pages = left
Perspective = 1541,1516, 5530,1479, 5542,7255, 1523,7234 # BSW_0008 L (IMG_0007)
Crop = 863,792, 5849,8043 # BSW_0008 L (IMG_0007)
So I don't quite understand: the crop rectangle is always going to be outside the perspective points because the perspective points are measured using the text block, while the crop points are measured with some margin outside the text block.
So... confused?
--Rob
