Of course, it your goal in using Point is to not increase the number of colours of the image, this the desirable behavior. (Well, maybe you'd want the tie to be randomly resolved? Probably not.) So, I am not advocating a change in what IM does. I'm just trying to get what I need.
If you want to preserve the (local) alignment of the smaller image w.r.t. the larger one (as much as possible), this is not the desirable behavior. You'd rather have ties resolved by averaging. Of course, this will add new colours. (In the case of the above example, it will add grey to black and white.)
Here is, I believe, a fix. P.S. NOT!
Instead of
Code: Select all
convert INPUT.WHATEVER -filter Point -resize WIDTHxHEIGHT OUTPUT.WHATEVER
Code: Select all
convert INPUT.WHATEVER -filter Box -define filter:blur=0 -resize WIDTHxHEIGHT OUTPUT.WHATEVER
Consequently, when you have ties, they will be resolved by averaging. (Provided you don't have bad luck with the nudge, but if you downsample to a factor of the original width and height, you should not have bad luck.)
(If someone has a better solution, I'd love to read it.)