0
\$\begingroup\$

When I scan photos on my printer, sometimes it is a dumb printer and does not take out the background, especially when there is a lot of white. How would I do this on my example photo other than selecting it with the selection tool? autocrop and zealous crop does nothing.

\$\endgroup\$
4
  • \$\begingroup\$ All the autocrop operations work for me (there is slight white border remaining), in 2.8 and 2.10. Is the layer properly activated? Is there a lingering selection? \$\endgroup\$
    – xenoid
    Apr 15, 2019 at 20:44
  • \$\begingroup\$ For me it always says “nothing to drop” \$\endgroup\$
    – Mark Deven
    Apr 15, 2019 at 21:04
  • \$\begingroup\$ IIRC it crops until it finds a vertical/horizontal line that isn't the same as the previous one. If you make a 2px-wide rectangle selection along one of the white edges, does the histogram show more than one value? \$\endgroup\$
    – xenoid
    Apr 15, 2019 at 21:18
  • \$\begingroup\$ Another hypoihesis is that the picture you provided had its contrast enhanced. If so you have a way to autocrop, just do it later in the workflow. \$\endgroup\$
    – xenoid
    Apr 15, 2019 at 21:20

1 Answer 1

1
\$\begingroup\$

Select the white area using color selection, invert selection, then crop to selection. If not enough of the border is selected, increase the selection threshold.

You don't have to worry about white areas within the image, such as the fountain, because the crop is rectangular. However images with white across an entire edge, such as blown out skies, may have to be cropped manually.

You can speed up the selection operations by performing a rough initial crop to decrease the image area the software has to analyze.

\$\endgroup\$
2
  • \$\begingroup\$ That would probably work except the fountain bleeds a lot of white. \$\endgroup\$
    – Mark Deven
    Apr 16, 2019 at 2:17
  • 1
    \$\begingroup\$ You don't have to worry about the fountain being selected because the crop is rectangular. \$\endgroup\$
    – xiota
    Apr 16, 2019 at 2:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.