I'm trying to find a way to determine if different layers have overlapping pixels. The layers are randomly shaped and need to fit as closely together as possible, so using the bounds to check for the overlap would not work. I'm basically looking for a way to detect the overlap based on pixels that are 100% opac. Is there any easy way to do this through scripting?
↧