Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

JS/PS CS3: identify single pixels sticking out

$
0
0

In a bitmap, is it possible to identify single pixels sticking out from a shape? Let's say I have this black shape in a black-and-white bitmap:

 

 

   xxxxxxxx

   xxxxxxxx

   xxxxxxxx

   xxxxxxxx

        x

 

an 8 by 4 rectangle with one pixel sticking out from the bottom. Question is, can I find such pixels using a script (JS) and make it white?

 

Thanks,

 

Peter


Viewing all articles
Browse latest Browse all 12244


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>