These are chat archives for openseadragon/openseadragon

8th
Oct 2015
Ian Gilman
@iangilman
Oct 08 2015 16:16 UTC
@avandecreme Very cool! The filtering looks good
Antoine Vandecreme
@avandecreme
Oct 08 2015 16:39 UTC
Yep, I hope to be allowed to publish the plugin one day.
The next step would be to better handle kernel operations (edge effects handling)
Ian Gilman
@iangilman
Oct 08 2015 17:42 UTC
@avandecreme Yes, that would be great!
Antoine Vandecreme
@avandecreme
Oct 08 2015 21:30 UTC
Any idea why we are using Math.floor and Math.ceil rather than Math.round here: https://github.com/openseadragon/openseadragon/blob/master/src/overlay.js#L253-L254
Ian Gilman
@iangilman
Oct 08 2015 22:32 UTC
@avandecreme I believe that's to avoid seams...by floor-ing the position and ceil-ing the size, you get a wider spread. Otherwise you're more likely to see seams between tiles.
Keep in mind that that's just the HTML renderer...with the Canvas renderer we can have non-integer numbers :)