Seadragon.com: PDFs, SVGs, and web pages, oh my!

  • 1
  • Announcement
  • Updated 10 years ago
We're very excited to announce that we have shipped support for PDF files, SVG images, and web pages (perfect for maps or infographics). Just point us towards the file URL, and we'll give you back a zoomable version of that content.

Bonus tip: Our PDF shows the first page, but just append "#page=x" to the end of the URL to specify any page, e.g. http://example.com/foo.pdf#page=3.

Here are some examples:


Here’s to being able to create and share even more zoomable high-resolution content on Seadragon.com! Enjoy, and let us know what you think.

Cheers,
Goldie

P.S. Major props to our former intern, Daniel Gasienica, for the PDF work and for his other features still on the way. And to introduce myself, I'm the newest PM on the Seadragon team. You'll be hearing more from me in the future, but feel free to drop me a line :) Stay tuned!
Photo of Goldie Chaudhuri

Goldie Chaudhuri, Official Rep

  • 6 Posts
  • 2 Reply Likes
  • pumped!

Posted 10 years ago

  • 1
Photo of Ian Gilman

Ian Gilman

  • 17 Posts
  • 2 Reply Likes
Awesome! My contribution:

http://www.seadragon.com/view/14ii#full

Seattle Bike Map (originally pdf)
Photo of Goldie Chaudhuri

Goldie Chaudhuri, Official Rep

  • 6 Posts
  • 2 Reply Likes
How have I never thought to convert that one before? I can't tell you how much time I've wasted scrolling around that PDF!
Photo of Ian Gilman

Ian Gilman

  • 17 Posts
  • 2 Reply Likes
That PDF was one of the reasons I wanted this feature in the first place! :-)
Photo of SoulSolutions

SoulSolutions

  • 1 Post
  • 0 Reply Likes
This is super cool, well done!
I'm guessing this is going to make pivot much, much, easier :)
Photo of Goldie Chaudhuri

Goldie Chaudhuri, Official Rep

  • 6 Posts
  • 2 Reply Likes
Thanks! And such foreshadowing - it's possible we're looking into that :)
Photo of Daniel Gasienica

Daniel Gasienica

  • 73 Posts
  • 19 Reply Likes
Sweet! :)
Photo of Sean Dunn

Sean Dunn

  • 1 Post
  • 0 Reply Likes
This is great! But, why can't I create a recursive Seadragon page? :)
Photo of Hassan Aly Selim

Hassan Aly Selim

  • 1 Post
  • 0 Reply Likes
LOL! nice try :D
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Looks like someone else had the same idea! http://seadragon.com/view/15t0 =P
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Couple other cool examples I stumbled upon:


 
Photo of Nathanael Lawrence

Nathanael Lawrence

  • 795 Posts
  • 55 Reply Likes
Hey, cool. How long ago did you ship the support for web pages? I know I saw several a while ago, but I could have sworn that it was longer ago than 10 days.

I was wondering why you don't render SVGs and PDFs, if not web pages as well, at higher DPI settings before converting to DZIs. When rendered at 72 or 96 DPI before converting to DZI, the images just aren't that deep, when (in the case of text and vector artwork) they could actually be far higher resolution and far more impressive showcases of Seadragon.

I'm also wondering whether we'll ever see the vector side of Seadragon come back or if it's going to only be raster tile pyramids forever and you'll just leave hardware accelerated zooming on actual text to the Internet Explorer 9 team to implement.

Seadragon tech (past the raster tile pyramids) that works consistently across browsers but was fundamentally built into IE9 would be great.
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Indeed! We actually shipped this stuff a few months ago but never got around to publicly announcing it until this post.

We convert PDFs at 300 DPI. We found this was a reasonably high resolution -- almost as high as the iPhone 4's retina display! ;) -- while still keeping conversion time and storage space reasonable.

SVGs we could indeed render at a higher resolution. For the time being we're using the SVG's native resolution, i.e. whatever the SVG XML says. (Wikipedia calls this its "nominal" resolution.) I agree we could do it at 2x or 4x res. If SVG images become a popular input into our service, we would consider doing that..

Ultimately though, you're absolutely right that we should be using real vectors after the native resolution! There are people on our team playing with these types of ideas (esp. in relation to Pivot!), but we have nothing to announce yet.

I totally agree about this stuff being built into IE though. It won't happen in IE9, but maybe in future versions. =)
Photo of Danie Nell

Danie Nell

  • 1 Post
  • 0 Reply Likes
Woah this is amazing ! Is the code used to achieve this open to the public or will it JUST be on the seadragon site?
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
It's quite easy! We still use DeepZoomTools for converting PNG/JPEG images to DZIs; we just need to generate those PNG/JPEG images from the PDFs/SVGs/webpages first. That step is called "rasterization", and there are many third-party tools out there that do that (e.g. IECapt is great for rasterizing webpages on Windows). So once you have a PNG or JPEG image, it's the same as always. =)