示例#1
0
 /*Creates a DeepZoomGenerator wrapping a Slide object.
  * osr:         a slide object.
  * tileSize:    the width and height of a single tile.
  *                       For best viewer performance, tile_size+2*overlap should be a power of two.
  * overlap:     the number of extra pixels to add to each interior edge of a tile.
  * limitBounds: True to render only the non-empty slide region.*/
 public DeepZoomGenerator(AbstractSlide osr, int tileSize = 254, int overlap = 1, bool limitBounds = true)
 {
     Osr             = osr;
     TileSize        = tileSize;
     DeepZoomOverlap = overlap;
     LimitBounds     = limitBounds;
 }
示例#2
0
 protected SlideDictionary(AbstractSlide osr)
 {
     Osr = osr;
 }