Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch processing - detecting various colours to crop to edge of scanned document JPG?
#11
(06-30-2022, 11:40 AM)Ofnuts Wrote: There is no way in a script to see where you clicked. What a script sees is the result of click (for instance a selection, a path, or a guide).

If you always include the top left corner in the crop, click on the bottom right corner and drag beyond the top left one and Gimp will adjust that to the corner (make sure you have disabled "Allow growing" in the Crop tool options).

That's a bit of a shame that there can be no one-click "crop to this point" command, but at least you can start in the bottom-right corner and drag beyond the top-left without having to be accurate, according to what you say above. That means it isn't a fiddly, slow selection process.
Reply


Messages In This Thread
RE: Batch processing - detecting various colours to crop to edge of scanned document JPG? - by mkilpatr - 06-30-2022, 12:09 PM

Forum Jump: