How do I script the Paint Bucket?
Re: Photoshop CS6, ver 13.0.1 (x32) on Win 7 SP1 (64-bit) 16gB RAM
When scripting the Trim function in Photoshop, some of my photos apparently have non-white pixels on the canvas that don't match white color of the top left corner pixel. Thus some sides are not trimmed due to problem pixels while the other sides are neatly trimmed. An example where the top is not trimmed while the left, right and bottom are trimmed is at http://www.sylloge.net/Upload75/IFN-8480988_02.tif (apologies for defacing due museum's copyright).
This is easily repaired by using the Paint Bucket with white at opacity 100%, tolerance 10 near the top left of background. How do I script the Paint Bucket at position 10 pixels from left, 10 pixels from top?
Is Paint Bucket the right approach to the problem?
