Zoom.it in an offline standalone web projects

  • Question
  • Updated 2 years ago
  • Answered
hi,
You did a great job by creating a pdf tool for deepzoom, but i wonder if there is any way to get the internal API source code in order to implement zoomit it api in a standalone project where user can upload pdf from a local machine, store it on a local server as well and crunch it into a deepzoom object. In that way we eliminate any dependency on your website & the api can turn out to be useful for developpers.

Thank you
Photo of Nour

Nour

  • 4 Posts
  • 0 Reply Likes
  • anxious

Posted 5 years ago

  • 1
Photo of Dan Cory

Dan Cory, Official Rep

  • 65 Posts
  • 17 Reply Likes
We already provide most of the code in DeepZoomTools http://seadragon.com/developer/creati...

The PDF conversion is done by a third-party library. You can use any PDF library that can generate an image, then feed the image to DeepZoomTools.

The rest of the code allows it to run on Azure, but that would be irrelevant to a stand-alone project.
Photo of Nour

Nour

  • 4 Posts
  • 0 Reply Likes
hi, thank you for your quick reply,
my aim is to avoid the rasterizing part. i have large PDF with vectorial data when it comes to rasterize it i lose all the depth & the quality of the image can you share the third party u're using to crunch a PDF and load it in a Multiscale image? or recommand me any efficient dotNEt API to do so ?
Thank you.
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Hey Nour,

Foxit's PDF SDK provides a .dll that can do this. It's very powerful but not free.

GNU Ghostscript provides an .exe to do this also. It's free.

For these and any other tools, you would want to tell the tool to use a high DPI for rendering. 300 DPI should be high enough, but 600 DPI might be useful if your PDF really has a ton of depth.

Hope this helps!
Photo of George Birbilis

George Birbilis

  • 4 Posts
  • 0 Reply Likes
A problem with PDF conversion at zoom.it is that it only takes the 1st image out of it. Both with PDF and multi-page TIFFs it would be nice if it made a .DZC (DeepZoom Collection) of all pages placed in some grid (and if SeaDragon AJAX doesn't support DZC either enhance it, or have some service that can render DZC as a single DZI under the hood and use that for AJAX client)
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Yes, it would have been great to do that, but we never got there, and neither Zoom.it nor Seadragon Ajax are actively under development anymore.

Both the tools mentioned above (Foxit's PDF SDK and GNU Ghostscript) can grab all pages of a PDF, so you can always roll your own solution, hopefully without too much effort. =)