mei
mei

Reputation: 77

loading a single jpg file into openseadragon displays multiple tiles

Loading a large jpg file using type of 'image' as in examples from https://openseadragon.github.io/examples/tilesource-image/ is showing up with multiple duplicate tiles on the viewport. a missing configuration setting?

jQuery(document).ready(function() {
OpenSeadragon({
  id:            "openseadragon",
  prefixUrl:     "data/",
  debugMode:true,
  tileSources:   {
     type: 'image',
     url:  '../data/gudmap/large.jpg'
  }
});

original image duplicated into 4 tiles

[new] after more trying, it is not when the jpg file is big but when the jpg file is actually small that it gets duplicate into multiple tiles.

Upvotes: 0

Views: 851

Answers (1)

iangilman
iangilman

Reputation: 2174

The image tile source loads the single image you give it and breaks it into multiple tiles to make drawing more efficient. I imagine that's what you're seeing.

Upvotes: 0

Related Questions