Merge pull request #2544 from openseadragon/ms-avif

Added avif to supported image formats
This commit is contained in:
Ian Gilman 2024-06-17 09:35:06 -07:00 committed by GitHub
commit 72d7c5353e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ OPENSEADRAGON CHANGELOG
* DEPRECATION: The OpenSeadragon.createCallback function is no longer recommended (#2367 @akansjain) * DEPRECATION: The OpenSeadragon.createCallback function is no longer recommended (#2367 @akansjain)
* The viewer now uses WebGL when available (#2310, #2462, #2466, #2468, #2469, #2472, #2478, #2488, #2492, #2521, #2537 @pearcetm, @Aiosa, @thec0keman) * The viewer now uses WebGL when available (#2310, #2462, #2466, #2468, #2469, #2472, #2478, #2488, #2492, #2521, #2537 @pearcetm, @Aiosa, @thec0keman)
* Added webp to supported image formats (#2455 @BeebBenjamin) * Added webp to supported image formats (#2455 @BeebBenjamin)
* Added avif to supported image formats (#2544 @msalsbery)
* Introduced maxTilesPerFrame option to allow loading more tiles simultaneously (#2387 @jetic83) * Introduced maxTilesPerFrame option to allow loading more tiles simultaneously (#2387 @jetic83)
* Now when creating a viewer or navigator, we leave its position style alone if possible (#2393 @VIRAT9358) * Now when creating a viewer or navigator, we leave its position style alone if possible (#2393 @VIRAT9358)
* Added getter & setter for Viewport.maxZoomPixelRatio (#2506 @eug-L) * Added getter & setter for Viewport.maxZoomPixelRatio (#2506 @eug-L)

View File

@ -2631,6 +2631,7 @@ function OpenSeadragon( options ){
* Preexisting formats that are not being updated are left unchanged. * Preexisting formats that are not being updated are left unchanged.
* By default, the defined formats are * By default, the defined formats are
* <pre><code>{ * <pre><code>{
* avif: true,
* bmp: false, * bmp: false,
* jpeg: true, * jpeg: true,
* jpg: true, * jpg: true,
@ -2698,6 +2699,7 @@ function OpenSeadragon( options ){
var FILEFORMATS = { var FILEFORMATS = {
avif: true,
bmp: false, bmp: false,
jpeg: true, jpeg: true,
jpg: true, jpg: true,