zimeon / iiif

IIIF Image API reference implementation and Python library
GNU General Public License v3.0
55 stars 15 forks source link

off-by-one sizes #5

Closed edsu closed 9 years ago

edsu commented 9 years ago

I was able to fix the off by one problems by rounding up with math.ceil and dividing by a float. I don't understand the code well enough to know what the ramifications of this are. But I trust you will?

jpstroop commented 9 years ago

This makes sense given that OSd also uses Math.ceil() pretty much everywhere. Didn't we go around about this once before @zimeon?