Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web-document-viewer

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-document-viewer

Atalasoft JavaScript library for presenting images and documents, including PDF Forms, on a web page.

  • 11.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-73.17%
Maintainers
1
Weekly downloads
 
Created
Source

Atalasoft Web Document Viewer control

npm version NuGet version Bower version

The WebDocumentViewer(aka WDV) and WebDocumentThumbnailer(aka WDT) are JavaScript based image viewing controls that could be easily created by adding fex snippets of HTML and JavaScript on your web page and a separate bare-bones requests handler on the server side.

Introduction

There currently is a gap of functionality on the internet in that browsers currently only display "web native" image formats (PNG, JPEG, GIF, and SVG). Popular multipage document formats like PDF, TIFF and Office formats (like Excel and Word), all cannot be displayed natively on a web page. Atalasoft web controls solves this problem and provide JavaScript APIs to build viewer apps that:

  • Work on every HTML5 browser (including mobile browsers).
  • Display different types of images. PDF, TIFF, PNG, JPEG, BMP, GIF, PCX, PSD, PCD, RAW, WMF/EMF, TGA, JBIG2, Jpeg2000, DICOM, DWG, Xps, etc.
  • Modify document structure and save modified documents.
  • Enable annotations, thumbnails, and mobile support for a document.
  • Display and fill PDF forms.
  • Support text selection basing on PDF text layer or OCR data.
  • Effectively work with big documents - make it possible to stream individual pages on demand without downloading the entire document first.
  • Can be embedded into an existing web page or application.

Installation

Bower
bower install web-document-viewer
Nuget
PM> Install-Package Atalasoft.Web.Document.Viewer
NPM
npm install web-document-viewer

Backend Overview

Atalasoft HTML5 imaging controls are support following server environments

  • ASP.NET

    Server side functionality is exposed using separate HttpHandler. See ASP.NET demo application tutorial for details.

  • ASP.NET Core on full .net platform

    Server side functionality is exposed using WebDocumentViewerMiddleware that is registered to handle WDV requests. See ASP.NET Core demo application tutorial for details.

Frontend Overview

WebDocumentViewer and WebDocumentThumbnailer requires Jquery and Jquery UI libraries. If annotations support are enabled, Raphael.js library is also required. If text support is enabled, then Raphael.js and ClipboardJS are both required.

Jquery should be included into web page by the application. If some of the other dependent libraries don't exist in the web page scope, controls are trying to automatically load them(using file names from dotImage web resources bundle shipped by installer). When controls are delivered by NuGet or Bower it's required to manually deploy them on the page(since file names could differ for different versions).

Sample application

You can find a demo application shows basic usage of Web Document Viewer component of DotImage product. Live version of the demo is hosted on Azure: http://atalasoft-viewer-demo.azurewebsites.net/

Licensing

To run the projects locally, you need to have a DotImage license. There are various way to acquire the license:

This source code is property of Atalasoft, Inc. (http://www.atalasoft.com/)
Permission for usage and modification of this code is only permitted with the purchase of a source code license.

Keywords

FAQs

Package last updated on 06 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc