LEADTOOLS Web Services

Several LEADTOOLS SDKs offer imaging and document functionality in the form of ASP.NET Web API Rest services implemented with an MVC architecture that are designed to be easily accessed by any application for a platform-independent solution.

The Web API Services provide a simple JSON interface for HTML5 / JavaScript applications. Developers using high-level environments such as .NET, Java, JavaScript and more, can utilize these LEADTOOLS MVC REST Web Services.

See below for LEADTOOLS MVC Web API and REST Services that are provided with source code:

DemoServices

ASP.NET Web API project located in:

.NET Framework: [Your installation folder]\Examples\JS\Services\DemoServices\fx

.NET Core: [Your installation folder]\Examples\JS\Services\DemoServices\core

Service Features Relevant Source Code
BankCheck

Parsing bank check image files and returning important fields.

DemoServices - BankCheckController.cs
Barcode

Reading barcodes in raster images and obtaining the resulting data.

DemoServices - BarcodeController.cs
Data

Storing / retreiving annotations via XML. The Annotations Demo also uses this controller to rasterize SVG documents due to a security issue in Internet Explorer.

DemoServices - DataController.cs
DriverLicense

Parsing driver license image files and returning important fields.

DemoServices - DriverLicenseController.cs
MRTD

Parsing MRTD image files (such as passports) and returning important fields.

DemoServices - MRTDController.cs
OCR

Performing OCR on raster images and obtaining the resulting text.

DemoServices - OcrController.cs
PDF

Retrieving bookmarks, signatures, and form fields in PDF documents provided by URL.

DemoServices - PDFController.cs
Raster

Parsing image information and loading raster images.

This service also supports loading an image of any format and converting it to one of the following:

  • "image/jpeg" for JPEG
  • "image/png" for PNG
  • "image/gif" for GIF
  • "image/tiff" for TIF
  • "image/x-lead-cmp" for LEAD CMP
  • "image/bmp" for BMP
  • "application/pdf" for PDF
  • "image/x-jpeg-2000" for JPEG 2000
  • "image/x-lead-cmw" for LEAD CMW
  • "image/x-jpeg-xr" for JPEG XR (JXR)
  • "image/x-xps" for Microsoft XPS
DemoServices - RasterController.cs

DocumentService

ASP.NET Web API project (and Java Jersey web API project) located in:

.NET Framework: [Your installation folder]\Examples\JS\Services\DocumentServiceDotNet\fx

.NET Core: [Your installation folder]\Examples\JS\Services\DocumentServiceDotNet\core

Java: [Your installation folder]\Examples\JS\Services\DocumentServiceJava

Service Features Relevant Source Code
Annotations

Loading, saving, and updating the annotations within a LEADDocument.

DocumentService - AnnotationsController.cs
Cache

Streaming/retrieving items from a FileCache.

DocumentService - CacheController.cs
Compare

Comparing two documents, as text or as images, and returning the results either visually or as a markdown report.

DocumentService - CompareController.cs
CorsProxy

Behaves as a proxy for web requests to ensure the CORS headers are properly configured. Primarily used to ensure drawing images doesn't taint the canvas (more info https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image).

DocumentService - CorsProxyController.cs
Document

Decrypting and converting documents using the LEADDocument instance.

DocumentService - DocumentController.cs
Factory

Uploading, downloading, saving, and deleting LEADDocument data to/from a FileCache.

DocumentService - FactoryController.cs
Images

Retrieving multiple document pages as a single combined thumbnail image.

DocumentService - ImagesController.cs
Page

Retrieving LEADDocument pages as raster or SVG images and retrieving page text or annotations.

DocumentService - PageController.cs
SharePoint

Listing and retrieving files from a SharePoint directory.

DocumentService - SharePointController.cs
StatusJobConverter

Utilizes the StatusJobDataRunner to convert the documents, allowing for status querying and cancellation of the requests.

DocumentService - StatusJobConverterController.cs
Structure

Parsing and returning bookmarks and page links for a LEADDocument.

DocumentService - StructureController.cs

MedicalWebViewer WCF Services

WCF service located in Examples\Dotnet\PACSFramework\MedicalWebViewer\Leadtools.Medical.WebViewer.WCF

Service Features Relevant Source Code
AuditLogService Creating DICOM audit logs. Leadtools.Medical.WebViewer.WCF
AuthenticationService Authenticating users and managing users, rights, permissions and roles Leadtools.Medical.WebViewer.WCF
ExportService Exporting DICOM datasets. Leadtools.Medical.WebViewer.WCF
MonitorCalibrationService Storing and retrieving monitor calibrations. Leadtools.Medical.WebViewer.WCF
ObjectQueryService Performing a DICOM query against a Hosted Web Server. Leadtools.Medical.WebViewer.WCF
ObjectRetrieveService Retrieving images, image information, and DICOM metadata from a host Web Server. Leadtools.Medical.WebViewer.WCF
OptionsService Getting and setting the Web Viewer options. Leadtools.Medical.WebViewer.WCF
PacsQueryService Performing a DICOM query against a remote DICOM server. Leadtools.Medical.WebViewer.WCF
PACSRetrieveService Performing DICOM C-MOVE operations and managing a download queue. Leadtools.Medical.WebViewer.WCF
PatientAccessRightsService Managing access to patient information based on the user's credentials. Leadtools.Medical.WebViewer.WCF
PatientService Managing patients (adding, removing and updating). Leadtools.Medical.WebViewer.WCF
StoreService Storing DICOM files (files upload). Leadtools.Medical.WebViewer.WCF
TemplateService Managing templates (adding, removing and updating). Leadtools.Medical.WebViewer.WCF

MedicalWebViewer ASP.Net Services

ASP service located in Examples\Dotnet\PACSFramework\MedicalWebViewer\Leadtools.Medical.WebViewer.ASP

Service Features Relevant Source Code
audit Creating DICOM audit logs. Leadtools.Medical.WebViewer.ASP
auth Authenticating users and managing users, rights, permissions and roles Leadtools.Medical.WebViewer.ASP
export Exporting DICOM datasets. Leadtools.Medical.WebViewer.ASP
monitorcalibration Storing and retrieving monitor calibrations. Leadtools.Medical.WebViewer.ASP
query Performing a DICOM query against a Hosted Web Server. Leadtools.Medical.WebViewer.ASP
retrieve Retrieving images, image information, and DICOM metadata from a host Web Server. Leadtools.Medical.WebViewer.ASP
options Getting and setting Web Viewer options. Leadtools.Medical.WebViewer.ASP
pacsquery Performing a DICOM query against a remote DICOM server. Leadtools.Medical.WebViewer.ASP
pacsretrieve Performing DICOM C-MOVE operations and managing a download queue. Leadtools.Medical.WebViewer.ASP
patientaccessrights Managing access to patient information based on the user's credentials. Leadtools.Medical.WebViewer.ASP
patient Managing patients (adding, removing and updating). Leadtools.Medical.WebViewer.ASP
store Storing DICOM files (files upload). Leadtools.Medical.WebViewer.ASP
template Managing templates (adding, removing and updating). Leadtools.Medical.WebViewer.ASP

LEADTOOLS Services Host Manager

Utility to configure IIS to host the LEADTOOLS Medical Services, located in Examples\Services\LeadtoolsServicesHostManager.

WADO Service

Service for performing WADO/DicomNet operations using the Medical toolkit, located in Examples\JS\WADODemo\Leadtools.Medical.WADO. Operations include Query/Retrieval of a DICOM instance and using it with the WADO Client.

See Also

Source Code

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS HTML5 JavaScript