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.
-
\$\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\$– xenoidApr 15, 2019 at 20:44
-
\$\begingroup\$ For me it always says “nothing to drop” \$\endgroup\$– Mark DevenApr 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\$– xenoidApr 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\$– xenoidApr 15, 2019 at 21:20
1 Answer
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.
-
\$\begingroup\$ That would probably work except the fountain bleeds a lot of white. \$\endgroup\$ 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\$– xiotaApr 16, 2019 at 2:20