mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
7552806a47
Flipping an image changes the bounds of each tile. The existing code assumes that cannot happen. getTile() calculates the tile bounds the first time it is asked for a particular tile. It then caches and returns the same time on every subsequent call. getTile() has a check to test if a tile exists in the cache. If it does not, the tile is created and inserted. In order to make tiles be rebuilt after a flip, we only need to check if the tile's flip matches the image's flip. If not, we can recreate the tile as if it did not exist. To make this a bit clearer, the tile's flipped flag is now set in getTile() rather than positionTile(). This makes setFlip() work. |
||
---|---|---|
.github | ||
.vscode | ||
images | ||
nbproject | ||
psd | ||
src | ||
test | ||
.editorconfig | ||
.eslintrc.hound.json | ||
.eslintrc.json | ||
.gitignore | ||
.hound.yml | ||
.travis.yml | ||
changelog.txt | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
LICENSE.txt | ||
openseadragon.sublime-project | ||
package-lock.json | ||
package.json | ||
README.md |
OpenSeadragon
An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
See it in action and get started using it at http://openseadragon.github.io/.
Stable Builds
See the GitHub releases page.
Development
If you want to use OpenSeadragon in your own projects, you can find the latest stable build, API documentation, and example code at http://openseadragon.github.io/. If you want to modify OpenSeadragon and/or contribute to its development, read the contributing guide for instructions.
License
OpenSeadragon is released under the New BSD license. For details, see the LICENSE.txt file.