VGMaps

General Boards => Map Gab => Topic started by: Maxim on November 02, 2009, 03:57:25 am

Title: Seadragon in-browser large image viewer
Post by: Maxim on November 02, 2009, 03:57:25 am
I came across this today. It's a nice way to view some of the more enormous images on the site. It doesn't need any browser plugins, but (of course) works more smoothly with Silverlight installed.

http://seadragon.com/view/eym
http://seadragon.com/view/ez3
http://seadragon.com/view/ez4

However, being a Microsoft project, it will probably be gone in a few years.
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on November 02, 2009, 07:51:29 am
Interesting... I like how it fades from the lower resolution pieces while zooming and scrolling. It's hard to notice most of the time unless you're really going all over the place.

And of course the View Original button is useful, too, for saving the file without having to load it in the normal browser window first.


Edit: Very easy to upload to and works fast. Kudos to Microsoft.
Edit2: http://seadragon.com/view/ez8 (http://seadragon.com/view/ez8)
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on November 02, 2009, 08:07:57 am
Well, the View Original link will probably fall foul of the anti-hotlink protection if the viewer isn't embedded on this site (if the embedded version even has that link).
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on November 02, 2009, 08:23:20 am
Surprisingly, it doesn't. Right clicking the link and using Save As..., it let me download the full Dry Dry Desert map. No idea about the embedded version, though, as I don't have a place to test it.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on November 02, 2009, 09:27:03 am
Right-click -> save as generally sends a blank referer. A plain old click would fail. Or maybe the hotlink protection is not working?

I actually found it to be quite slow. On large maps it can take 10-15 minutes to process. "Uploads" are fast because it's not an upload, of course.

Don't miss the fullscreen view button at the lower right.
Title: Re: Seadragon in-browser large image viewer
Post by: Revned on November 02, 2009, 12:37:07 pm
Pretty neat stuff.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on November 02, 2009, 12:44:32 pm
Here's a GreaseMonkey script that adds this to the whole site automatically (!). It adds an icon next to each image link in the Atlas which submits the creation form to the Seadragon site, then embeds the result after the table for the current game. My Javascript is pretty awful :) and I had to do some nasty hacks to make it work, but it does work, in the latest Firefox and latest GreaseMonkey.

Remove the .txt extension and drop it on Firefox to install.

[Edit: bugfix]
[Edit 2: improvements to the script, moved it to an attachment]
[Edit 3: added the subdomainless URL mask]
Title: Re: Seadragon in-browser large image viewer
Post by: Revned on November 04, 2009, 06:24:58 pm
Doesn't work for me. I'm running Firefox 3.5.3 and Greasemonkey 0.8.20090920.2 on OS X.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on November 05, 2009, 12:34:26 am
Hard for me to fix :( if you can tell me what the Error Console says I could try to guess how to fix it...
Title: Re: Seadragon in-browser large image viewer
Post by: Revned on November 05, 2009, 02:08:55 am
Aha. Just add:
https://www.vgmaps.com/Atlas/*
Title: Re: Seadragon in-browser large image viewer
Post by: RT 55J on November 20, 2009, 12:21:46 pm
Super Metroid Redesign

http://seadragon.com/view/gdi

Note: I didn't make this. IIRC, Drewseph did (using SMILE's "Export to PNG" function.)
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on December 05, 2009, 12:05:51 pm
Choo choo! All aboard the Forever Train (http://seadragon.com/view/hpa)!


As for the script... I'm not sure it would be really necessary for every single map on the site. It feels like something that should be added personally if at all.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on December 05, 2009, 02:07:31 pm
Of course, it's not very useful for smaller images. But a single click is nicer than copying and pasting a URL into a separate tab.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on September 20, 2010, 02:37:53 am
Seadragon was rebranded "zoom.it" and you can attach it to any URL by prepending the image URl with "http://zoom.it/?url=", for example:

http://zoom.it/?url=https://www.vgmaps.com/Atlas/PC/RageOfMages-26-RoadToTheTower.png
Title: Re: Seadragon in-browser large image viewer
Post by: JonLeung on September 24, 2010, 07:21:21 am
Oooh, Symphony of The Night:

http://zoom.it/Gnah

Thanks for mentioning this, Maxim.  This will help me greatly for a personal project which involves a photomosaic where the tiles are currently too large and detailed...
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 07:29:27 am
I like how this turned out. Nice job, Microsoft.


That map is taking forever to convert for me. :P
Title: Re: Seadragon in-browser large image viewer
Post by: JonLeung on September 24, 2010, 10:02:28 am
Use the shortened URL, instead of the full one that includes the original URL.
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 10:26:24 am
I did. Of course, I was checking it less than 10 minutes after you posted it, so it probably hadn't finished converting yet. :P


Now it loads in an instant, and it is a sight to behold.
Title: Re: Seadragon in-browser large image viewer
Post by: Maxim on September 24, 2010, 10:40:42 am
The long URL redirects to the short one as soon as it's been first opened. I mentioned it as an easy way to "seadragonise" - I guess that should be "zoom.itize" - images without having to find out the short URL first, and thus maybe something to add to the site for larger maps. Of course, the manual editing doesn't play well with that.
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 12:16:02 pm
And the good news is, it recognizes files that have already been uploaded, so even the long URL is just as effective after the first use.
Title: Re: Seadragon in-browser large image viewer
Post by: JonLeung on September 24, 2010, 12:46:00 pm
If I had to, for whatever reason, delete, modify, or rename the original file, how would that affect it?
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 03:53:41 pm
Hmmm... not sure. You can try testing it with a small image like I did and change the file in between attempts. (I'd try it myself but I don't have my own website to keep the file URLs identical. :P)
Title: Re: Seadragon in-browser large image viewer
Post by: JonLeung on September 24, 2010, 05:26:38 pm
I missed the bus on the way home so I stopped by the Apple Store at Southgate Mall today.  Now, every time I miss the bus, I've made a habit of trying out the iPads and then leaving Safari on VGMaps.com (>_>) and have become familiar with the fact that the iPads (or at least these demo units) don't like the really big maps, such as most of them for Castlevania: Symphony Of The Night.  But today I went to this topic and then to the zoom.it link that I posted, and was pleased to see that the iPad is now able to view the map of the entire castle that way, with the same multi-touch pinch-zoom functionality.  Neato!
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 05:33:20 pm
That's good. Yeah, as far as I can tell, Safari (and Macs in general?) chokes on most large images or gifs.
Title: Re: Seadragon in-browser large image viewer
Post by: Revned on September 24, 2010, 07:19:56 pm
It's more likely a lack of RAM than the browser itself. Takes a lot of memory to view huge images.
Title: Re: Seadragon in-browser large image viewer
Post by: Peardian on September 24, 2010, 08:25:20 pm
Considering the same images could be viewed on my home PC (with 512 MB of RAM) without problem, I wouldn't be so sure about that. :P
Title: Re: Seadragon in-browser large image viewer
Post by: Revned on September 24, 2010, 11:52:27 pm
Considering I use a Mac and never have any problems, I am sure about that. The iPad only has 256 MB of RAM, which is hardly anything, especially when trying to load such massive images. When your computer loads an image from, say, a PNG file, it decompresses it into memory. My full SotN map is over 500 MB uncompressed.