Commit Graph

90 Commits

Author SHA1 Message Date
Ian Gilman
b9cb52a184 Updated copyright to 2023 2023-05-25 14:52:20 -07:00
Ian Gilman
c93df98363 JSDoc fixes 2022-12-16 14:14:40 -08:00
John Reagan
601160e9fb Add support for dynamic urls from tile source. Fixes #1970 2022-11-30 15:38:57 -05:00
Shyamkumar Yadav
5baa8d3252
docs: change @return -> @returns 2022-10-10 01:12:18 +05:30
Aiosa
298f069c7e Change missing cacheKey in Tilesource constructor to warning. Provide default implementation of getTileHashKey for tileSource if the tileSource does not inherit from OpenSeadragon.TileSource 2022-08-09 10:40:57 +01:00
Aiosa
bb1755613e Merge branch 'master' of https://github.com/openseadragon/openseadragon into openseadragon-master
# Conflicts:
#	src/tiledimage.js
2022-06-28 14:11:02 +02:00
Jirka
8a2c998cb9 Finish on image job now accepts request argument. Further comments cleanup. Deprecation message for image property in tile loaded event. Removal of downloadTileFinish(). More robust aborting that cleans up an image properties when aborted (not done until now). 2022-05-04 15:16:13 +02:00
Jirka
d82fd35323 Fix comments on #2148: part 2. Better commens on the new TileSource API. Deprecation if 'tile-loaded' image event parameter. Unwrap ImageJob and add userData property. 2022-04-29 23:45:01 +02:00
Jirka
45a7a4aaf3 Fix comments on #2148: hasTransparency as a property. Move '.image' tile property to be a getter instead. Rename 'ImageJob' data property from 'image' to 'data'. Repair comments related to #2148. 2022-04-29 18:41:43 +02:00
Jirka
4f79f29238 Move cache creation, image downloading process and transparency deduction to the TileSource instance to allow custom data fetching, caching, processing. 2022-04-16 21:19:54 +02:00
Jirka
3a84b9369b Clarify documentation on cache-key creation. 2022-04-13 10:47:48 +02:00
Jirka
ee2404afe3 Update Tile.prototype.getTileHashKey() documentation. Provide deprecation warning for cacheKey property - now it must be passed through Tile constructor. 2022-04-07 14:48:26 +02:00
Jirka
2750100d24 Move cache-key generation to TileSource: user might need to override default behaviour in case of non-unique URL's (post data used). 2022-03-29 09:30:25 +02:00
Jirka
68126a82dc Update docs on POST data to reflect more accurately the behaviour.
Fix bug & implement propositions ~ issue #2094.
2022-03-23 10:22:13 +01:00
Ian Gilman
51e3ea7fa0 Changelog for #2072 and minor comment style change 2022-01-21 11:57:14 -08:00
Jirka
63ecaafa51 Update documentation to be more explicit about post data string parameter format. 2022-01-20 18:03:08 +01:00
Jirka
aacae1ca3f Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting. 2022-01-12 22:31:13 +01:00
Aiosa
745a788d84
Merge branch 'openseadragon:master' into master 2022-01-06 10:56:43 +01:00
Sebastien ROBERT
e5b608d86a Extends the fix for seams in transparent images to any browsers, making it configurable 2021-12-13 14:20:11 +09:00
Aiosa
a11b5ce602 Support for POST data in the ajax requests. 2021-12-08 09:54:14 +01:00
Alistair Buxton
afa8c2d1bd Store the flipped state in each tile and render it as such
This will flip each individual tile on a per image bases. However
the tiles are now drawn in the wrong locations. Clipping etc works.
this is implemented for Canvas and HTML renderers.
2021-03-19 14:49:07 +00:00
Mark Salsbery
c4351f64e8 stricter linting 2020-06-25 16:01:14 -07:00
Torbjörn Kvist
bbe34e0816 Remove offset for transparent tile. 2018-06-04 11:16:23 +02:00
Torbjörn Kvist
f509f43472 Change offset of clearRect. 2018-05-18 07:42:24 +02:00
Ian Gilman
02a397638c Fixed test errors 2018-04-02 11:09:23 -07:00
Ian Gilman
075a37ce8c Now supporting square edge tiles with padding 2018-03-21 14:07:00 -07:00
Ian Gilman
a49bbbcb06 Addressing seams that appear in wrap mode on Safari and Firefox 2017-09-08 14:03:40 -07:00
Sean Nichols
15fe35a589 Improve documentation and option/argument names 2017-05-05 15:37:33 -04:00
Sean Nichols
ddab768696 Add options for loading tiles via AJAX and custom AJAX request headers. 2017-05-05 15:37:33 -04:00
Ryan Lester
861f4bdcd1 Comment fixes 2016-09-22 23:01:33 -04:00
Ryan Lester
0d4e17b627 Use the squared distance when comparing tiles.
This drops a Math.sqrt calculation from every tile iterated over while
drawing, improving performance.
2016-09-05 19:09:44 -04:00
Antoine Vandecreme
684029bc79 Optimize sketch canvas clearing and blending. 2016-04-27 11:08:44 -04:00
Antoine Vandecreme
f8de9b33b0 Fix getScaleForEdgeSmoothing with image tile source. 2016-04-21 10:31:49 -04:00
Ian Gilman
4e1a56472c Merge pull request #861 from avandecreme/transparency
Fix transparent images clearing the images in background. Fix #849
2016-02-25 09:29:50 -08:00
Antoine Vandecreme
7e3320c167 Fix transparent images clearing the images in backgroumd. Fix #849 2016-02-23 19:37:41 -05:00
Antoine Vandecreme
b17b9c6f03 Fix edge smoothing with png tiles. Fix #854 2016-02-23 13:49:11 -05:00
Ian Gilman
a244d7ef86 Merge pull request #825 from avandecreme/rotation
Fix edge smoothing with rotation.
2016-01-28 11:27:31 -08:00
Antoine Vandecreme
3e56092445 Fix tests. 2016-01-26 15:59:10 -05:00
Antoine Vandecreme
a12b74ec17 Fix @lends for new JSDoc. Fix polymorphic functions doc (#824). 2016-01-24 16:09:18 -05:00
Antoine Vandecreme
c639dd5123 Fix edge smoothing with rotation. 2016-01-23 18:40:53 -05:00
Petar Petrov
9922d2a4bb edge smoothing fix for Mac 2015-11-19 10:06:43 +02:00
Petar Petrov
7406727090 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2015-11-16 16:44:31 +02:00
Petar Petrov
8bee1e7b8b doc tweak for edge smoothing changes - #755 2015-11-06 08:55:30 +02:00
Petar Petrov
515c15bf98 various fixes for edge smoothing - #755 2015-11-05 16:19:56 +02:00
Petar Petrov
8c4fcc9ca9 tile edge smoothing at high zoom - #755 2015-11-04 17:04:50 +02:00
Antoine Vandecreme
37ca9235f8 Avoid using data urls in ImageTileSource. 2015-11-02 19:42:14 -05:00
Toni Munder
a2ee81d7cb Fixed some code 2015-09-15 20:52:44 -07:00
Antoine Vandecreme
2674104007 Fix flickering tiles with useCanvas=false when no cache is used. Fix #661 2015-06-03 14:34:18 -04:00
Antoine Vandecreme
2538f2023c Move tile caching code inside tilecache.js. 2015-05-29 11:49:58 -04:00
Antoine Vandecreme
44395662d1 Add opacity support. 2015-04-19 16:10:37 -04:00