Added avif to supported image formats (#2439)

This commit is contained in:
Mark Salsbery 2024-06-14 14:49:42 -07:00
parent fd74ea3dca
commit db0ab10428
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 (#2439 @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,