Well, first off, there may be more than one pixel involved in the collision. So what you really need to decide is which pixel are you looking for?
If it's any pixel, or all of them, then just write your own imagescollide function that keeps track of which pixels overlap.
If it's any pixel, or all of them, then just write your own imagescollide function that keeps track of which pixels overlap.