Hi there,

I tried the new iipmooviewer2 beta as found on http://merovingio.c2rmf.cnrs.f

r/iipimage/iipmooviewer-2.0/.

The method "calculateSizes" contains a rouding error, that only emerges when

dealing with small tiles:

max-size:

w: 2561, h:2563, tile-width:256,tile-height:256

in the method "calculateSizes" this is written:

tx = Math.floor(tx/2);ty = Math.floor(ty/2);

but it should be this:

tx = Math.ceil(tx/2); ty = Math.ceil(ty/2);

that way at 2561/2 does not become 1280 (and therefore thinking of 5 tiles in

width),

but 1281 (so actually 6 tiles), because a tile of width 1px needs to be there

;-)