An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
Go to file
Nelson Campos 71fd747051 Adds flip/mirror slides feature.
This commit adds full support for a new OpenSeaDragon(OSD) feature - Mirror/Flip.
In order to fully support this new feature, the following OSD objects had to be modified:
        - drawer.js:
        - navigator
        - openseadragon
        - strings
        - tiledImage
	- viewer

Additionally, a new flip button was created (similar to the existing ones).

Flip Logic
        Whenever the state is flip button is pressed, flip state is toogled, inverting all the controls and displays (the rotation direction is inverted as well).
        This means that all viewer coordinates (including user inputs) must me inverted too.

Summary of modifications
        - drawer.js: modified _offsetForRotation to invert rotation angle on flipped state. Added a _flip method to scale/mirror canvas context.
        - navigator.js: adds full flip support and inverts nagivator inputs.
        - openseadragon.js: new buttons, flip state variable and showFlipControl variable.
        - strings.js: flip tool help tips.
        - tiledImage.js: flips the actual drawing canvas.
	- viewer.js: Added keyboardshortcuts to rotate 90degrees (r/R) and flip image (f/F). flip button state is stored here and flip order is set.

The flipped state is stored on viewer object.
2018-04-04 16:08:13 +01:00
.vscode Fix version object not filled. Fix #1024 2017-01-07 17:38:38 +01:00
images Adds flip/mirror slides feature. 2018-04-04 16:08:13 +01:00
nbproject Fix formatting on netbeans. 2015-11-26 17:24:37 -05:00
psd Add psd with button source 2017-02-20 20:41:14 +01:00
src Adds flip/mirror slides feature. 2018-04-04 16:08:13 +01:00
test removed old files from test 2018-02-16 21:17:52 +01:00
.editorconfig Fix editorconfig config. 2015-06-11 10:49:32 -04:00
.eslintrc.hound.json Add eslint and hound 2017-01-16 21:41:07 +01:00
.eslintrc.json Some issues solved 2017-02-20 20:23:25 +01:00
.gitignore Implement code coverage without grunt-qunit-istanbul 2018-01-02 08:32:45 -08:00
.hound.yml Remove jshint 2017-01-16 21:44:36 +01:00
.travis.yml Tell travis to install grunt before doing anything else. 2016-01-26 19:14:45 -05:00
changelog.txt Changelog for #1426 2018-03-23 09:22:45 -07:00
CONTRIBUTING.md add documentation for installing from Github forks/branches 2017-07-17 20:23:53 -04:00
Gruntfile.js Adjust timeout downward 2018-01-19 14:38:56 -08:00
LICENSE.txt Include 2010 in "OpenSeadragon contributors" copyright dates 2013-05-13 23:32:09 -04:00
openseadragon.sublime-project Coordinate conversion functions for TiledImage 2014-11-21 16:32:04 -08:00
package-lock.json Now supporting square edge tiles with padding 2018-03-21 14:07:00 -07:00
package.json Implement code coverage without grunt-qunit-istanbul 2018-01-02 08:32:45 -08:00
README.md Attempting to fix Gitter badge for npm 2016-05-26 16:00:04 -07:00

OpenSeadragon

Gitter Build Status

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.