Add demo showing tile seams issue on M2 macs + chrome + webgl
* We had this bug that caused us to upgrade to OpenSeadragon 5, but discovered this tile seams issue still appears somewhat intermittently on M2 Macs running Mac OSX Sequoia * I've gone ahead and demonstrated a simplified version of our TileSource implementation for our own internal file format. Note that this file format outlines a sequence of tiles as JPGs with no overlap, and so we set our tile overlap to zero
BIN
test/data/guppytiles/3/0_0.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
test/data/guppytiles/3/0_1.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/0_2.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/0_3.jpg
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
test/data/guppytiles/3/0_4.jpg
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
test/data/guppytiles/3/0_5.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
test/data/guppytiles/3/10_0.jpg
Normal file
After Width: | Height: | Size: 139 KiB |
BIN
test/data/guppytiles/3/10_1.jpg
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
test/data/guppytiles/3/10_2.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/10_3.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
test/data/guppytiles/3/10_4.jpg
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
test/data/guppytiles/3/10_5.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
test/data/guppytiles/3/1_0.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/1_1.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/1_2.jpg
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
test/data/guppytiles/3/1_3.jpg
Normal file
After Width: | Height: | Size: 300 KiB |
BIN
test/data/guppytiles/3/1_4.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
test/data/guppytiles/3/1_5.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
test/data/guppytiles/3/2_0.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/2_1.jpg
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
test/data/guppytiles/3/2_2.jpg
Normal file
After Width: | Height: | Size: 255 KiB |
BIN
test/data/guppytiles/3/2_3.jpg
Normal file
After Width: | Height: | Size: 284 KiB |
BIN
test/data/guppytiles/3/2_4.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
test/data/guppytiles/3/2_5.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
test/data/guppytiles/3/3_0.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/3_1.jpg
Normal file
After Width: | Height: | Size: 209 KiB |
BIN
test/data/guppytiles/3/3_2.jpg
Normal file
After Width: | Height: | Size: 218 KiB |
BIN
test/data/guppytiles/3/3_3.jpg
Normal file
After Width: | Height: | Size: 237 KiB |
BIN
test/data/guppytiles/3/3_4.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
test/data/guppytiles/3/3_5.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/4_0.jpg
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
test/data/guppytiles/3/4_1.jpg
Normal file
After Width: | Height: | Size: 259 KiB |
BIN
test/data/guppytiles/3/4_2.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
test/data/guppytiles/3/4_3.jpg
Normal file
After Width: | Height: | Size: 186 KiB |
BIN
test/data/guppytiles/3/4_4.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
test/data/guppytiles/3/4_5.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
test/data/guppytiles/3/5_0.jpg
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
test/data/guppytiles/3/5_1.jpg
Normal file
After Width: | Height: | Size: 295 KiB |
BIN
test/data/guppytiles/3/5_2.jpg
Normal file
After Width: | Height: | Size: 286 KiB |
BIN
test/data/guppytiles/3/5_3.jpg
Normal file
After Width: | Height: | Size: 269 KiB |
BIN
test/data/guppytiles/3/5_4.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/5_5.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/6_0.jpg
Normal file
After Width: | Height: | Size: 181 KiB |
BIN
test/data/guppytiles/3/6_1.jpg
Normal file
After Width: | Height: | Size: 366 KiB |
BIN
test/data/guppytiles/3/6_2.jpg
Normal file
After Width: | Height: | Size: 361 KiB |
BIN
test/data/guppytiles/3/6_3.jpg
Normal file
After Width: | Height: | Size: 194 KiB |
BIN
test/data/guppytiles/3/6_4.jpg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
test/data/guppytiles/3/6_5.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
test/data/guppytiles/3/7_0.jpg
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
test/data/guppytiles/3/7_1.jpg
Normal file
After Width: | Height: | Size: 319 KiB |
BIN
test/data/guppytiles/3/7_2.jpg
Normal file
After Width: | Height: | Size: 275 KiB |
BIN
test/data/guppytiles/3/7_3.jpg
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
test/data/guppytiles/3/7_4.jpg
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
test/data/guppytiles/3/7_5.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
test/data/guppytiles/3/8_0.jpg
Normal file
After Width: | Height: | Size: 242 KiB |
BIN
test/data/guppytiles/3/8_1.jpg
Normal file
After Width: | Height: | Size: 283 KiB |
BIN
test/data/guppytiles/3/8_2.jpg
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
test/data/guppytiles/3/8_3.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/8_4.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
test/data/guppytiles/3/8_5.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/9_0.jpg
Normal file
After Width: | Height: | Size: 153 KiB |
BIN
test/data/guppytiles/3/9_1.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
test/data/guppytiles/3/9_2.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
test/data/guppytiles/3/9_3.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
test/data/guppytiles/3/9_4.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
test/data/guppytiles/3/9_5.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
43
test/demo/tileseams.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Mac M2/M4 Mac Tile Seams Issue</title>
|
||||
<script type="text/javascript" src='../../build/openseadragon/openseadragon.js'></script>
|
||||
<script type="text/javascript" src='../lib/jquery-1.9.1.min.js'></script>
|
||||
<style type="text/css">
|
||||
.openseadragon {
|
||||
width: 800px;
|
||||
height: 600px;
|
||||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Open this page on an M2+ mac in latest Google Chrome. Note that, upon moving around in the viewer, seams between these tiles appear periodically.</p>
|
||||
<div id="contentDiv" class="openseadragon"></div>
|
||||
<script type="text/javascript">
|
||||
const config = {
|
||||
// debugMode: true,
|
||||
maxPixelRatio: 0.7,
|
||||
tileSources: [{
|
||||
width: 5166,
|
||||
height: 2730,
|
||||
minLevel: 3,
|
||||
maxLevel: 3,
|
||||
getTileWidth: () => 512,
|
||||
getTileHeight: () => 512,
|
||||
getTileUrl: (level, col, row) => `/test/data/guppytiles/${level}/${col}_${row}.jpg`,
|
||||
// When tileOverlap is set to 0, it gets interpreted by openseadragon as unset. Instead of having it be unset, we simply want
|
||||
// it to be 0. Setting it to something quite small gives us that behavior
|
||||
tileOverlap: 0.000001,
|
||||
}],
|
||||
};
|
||||
|
||||
OpenSeadragon({
|
||||
...config,
|
||||
id: 'contentDiv',
|
||||
drawer: 'webgl',
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|