When I select all documents' transparent pixels by selecting a patch of transparent pixels outside a pixel object and putting Selection > Select Similar, then Selection > Inverse, it gives me perfect marching lines around my non-transparent object. However, when I go Ctrl+T to transform the said selection, there's some mysterious extra pixels in the transform box that are outside the marching lines. This messes up my automatic script I'm writing. Is there some simple solution I am overlooking?
I made sure the pixels were really "transparent" by doing a Clear after doing Selection > Select Similar. However, this had no effect on the mysterious extra space. But, if I dragged a marquee next to the object and 'delete' some of the extra space, it really does go away.
My goal is to use Selection > Select Similar to get the transparent pixels, then do the inverse and still have the selection transforming bounding box fit the marching lines if possible.