Mobile app version of vmapp.org
Login or Join
Gloria351

: Photoshop transform selection bounds larger than selection When I select all documents' transparent pixels by selecting a patch of transparent pixels outside a pixel object and putting Selection

@Gloria351

Posted in: #AdobePhotoshop

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria351

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berryessa866

You need to keep in mind that the marching ants is only a 1-bit visualisation of a selection and doesn't give you any visual indication of different levels (or opacity) of a selection. It's not an accurate representation of the selection.

Photoshop only includes anything that is more than 50% opaque in the marching ants. You can see this by making a selection from a layer with pixels all less than 50% opacity. You won't have any visible marching ants (although there will still be a selection) and you'll see a warning:



If you want a better visual representation of the selection you can enable Quick Mask mode. You'll see something like this:



Images taken from Photoshop Rectangular Marquee Tool not selecting correctly.

I suspect you just need to make your initial selection in a different way.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme