The docs says
"Unneccesary" is all pixels that are equal -- ie if all the same pixels to the left are the same color, that column of pixels are removed.
which I take as both left and right side (and possible the top and bottom) or no side at all should be cropped.
/ Martin Nilsson (ja till euro, nej till cent)
Previous text:
2003-07-23 21:16: Subject: autocrop
I think it starts in some order, say left, right, top, bottom. When it finds a line at the edge of the same colour, it locks on to that colour.
It could very well have given you a red image with a black border except on the right side, if it's not defined in the docs.
/ Mirar