On a footnote, we should consider coming up with naming conventions for
when ranges refer to "first and last pixels touched" vs. when they refer
to "start and end coordinates between pixels (i.e. when the end
coordinate is the number of the first pixel outside the region)".
Personally, in code
This just came through internally for a code review and I looked into it
in more depth. Sorry to take so long to get back to everyone, but I
don't think this is the answer.
I think the problem is in the startRow function. In the "alphaRows ==
0" case it sets the bbox to x1+1, but in the else