You pass a big image to "vips dzsave"
http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS
and it creates a .dzi file describing the tiles and a set of directories with zoomed in tiles. Then you add a div to your HTML and execute this js
viewer = new OpenSeadragon({
id: "openseadragondiv",
prefixUrl: "/Scripts/openseadragon/images/"
});
viewer.open(pathToDZI);
Re:700 megapixels served in under 700 miliseconds
by idvix on Thursday November 10, 2016 @09:42AM
(#12920707)
Yeah pretty much the same idea, but not the same packaging.
If you just want to quickly add a big pic in your blog and are no dev (noob here) this is everything you need.
Same choice as embedding a youtube/wistia/vimeo or hosting and streaming it yourself I guess.
Re:700 megapixels served in under 700 miliseconds
by nautical on Thursday November 10, 2016 @04:19AM
(#12918901)
My guess is it works well for very large images . For smaller images of real world , I am not sure how effective it is ( apart from usual optimizations ) .
Re:700 megapixels served in under 700 miliseconds
by oolongCat on Thursday November 10, 2016 @04:28AM
(#12918941)
I think this is something that should be present everywhere. Especially when serving customers from countries with unreasonable data caps enforced by ISPs.
I have seen some times load up 5-6 MB files when a 100-200kb image would have done the job.
If us developers could have an easy way to do this, I think it would really make the internet a lot faster.
Re:700 megapixels served in under 700 miliseconds
by ameesdotme on Thursday November 10, 2016 @04:37AM
(#12918995)
Quite misleading indeed and definitely done before. NASA released a 46000MP picture of the milky way in 2015, which is also available online[1] using the same technique.
Re:700 megapixels served in under 700 miliseconds
by gressquel on Thursday November 10, 2016 @04:26AM
(#12918929)
It works like google maps.
The high resolution image is sampled into several layers of lower resolution. You can call it levels.
Every level is split into quadrants.
So when someone zooms in, it will fetch the quadrants that is visible to the browser viewport. By doing this way, the browser doesnt have to load the rest of the image and thus save alot of bandwidth!
Re:700 megapixels served in under 700 miliseconds
by idvix on Thursday November 10, 2016 @09:51AM
(#12920786)
Ancient in a convenient, all-included package, yes. It's like serving videos yourself or embedding youtube/wistia/vimeo... The quick and performant way has value for some.
Re:700 megapixels served in under 700 miliseconds
by anc84 on Thursday November 10, 2016 @04:33AM
(#12918981)
Stupid clickbait about NOT serving 700 megapixels in under 700 milliseconds but just about 5 megapixels in about 24 images of < 50 kilobytes each. Big whoop...
You pass a big image to "vips dzsave" http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS and it creates a .dzi file describing the tiles and a set of directories with zoomed in tiles. Then you add a div to your HTML and execute this js
It also has plenty of useful plugins, eg. Scale bar https://pages.nist.gov/OpenSeadragonScalebar/ or Annotations (to draw on the image) https://github.com/Emigre/openseadragon-annotationsI have seen some times load up 5-6 MB files when a 100-200kb image would have done the job.
If us developers could have an easy way to do this, I think it would really make the internet a lot faster.
[1] http://gds.astro.rub.de/
Every level is split into quadrants.
So when someone zooms in, it will fetch the quadrants that is visible to the browser viewport. By doing this way, the browser doesnt have to load the rest of the image and thus save alot of bandwidth!
https://max1.prodibicdn.com/9ydmr8zdmerork/00/10/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/11/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/12/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/13/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/14/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/15/0_0.jpg
should give you an idea of what's going on.