Convert file in web application
In This Topic
1. JavaScript classes and Web API for file conversion in web application
WebFileConverterJS class is a JavaScript class that allows to convert any supported input file format to any supported output file format.
Supported input file formats: BMP, CUR, CSV, DICOM, DOC, DOCX, EMF, GIF, ICO, JBIG2, JPEG, JPEG 2000, JPEG-LS, ODS, ODT, PBM/PGM/PPM, PCX, PDF, PNG, PSD, RAW (DNG, CR2, CRW, NEF, NRW), RTF, SVG, TGA, TIFF, TSV, WEBP, WMF, XLS, XLSX.
Supported output file formats: BMP, DOCX, GIF, JBIG2, JPEG, JPEG 2000, PBM/PGM/PPM, PCX, PDF, PNG, PSD, SVG, TGA, TIFF, WEBP, XLSX.
Special file conversions: DOCX=>HTML, HTML=>DOCX.
WebFileConverterJS class is a helper that allows to convert file using "VintaSoft File Converter" Web API - in other words the
WebFileConverterJS class sends an asynchronous request to the "VintaSoft File Converter" Web API, waits for result from "VintaSoft File Converter" Web API and processes the received result.
"VintaSoft File Converter" Web API consists from ready-do-use web services, which allow to convert file located on server:
- VintasoftFileConverterApiController - ASP.NET Core Web API controller that allows to convert file in ASP.NET Core.
- Vintasoft.Imaging.Web.Api2Controllers.VintasoftFileConverterApi2Controller - ASP.NET MVC5 Web API controller that allows to convert file in ASP.NET MVC5.
- Vintasoft.Imaging.Web.HttpHandlers.VintasoftFileConverterHandler - ASP.NET handler that allows to convert file in ASP.NET.
- VintasoftImageProcessingWebService - platform-independent web service that allows to convert file in platform-independent web application. Functionality of this web service can be used in custom platform-dependent web service (ASP.NET Core, ASP.NET MVC5, ASP.NET Handler, ServiceStack, etc).
Here are tutorials, which demonstrate how to convert file in web application:
2. Demo applications
If you want to test functionality of "VintaSoft File Converter" Web API, please use on-line demo application
VintaSoft ASP.NET Core File Converter Demo. This on-line demo application does not have limitations.
If you want to see source codes of on-line demo application
VintaSoft ASP.NET Core File Converter Demo, please see source codes on
Github.
Also source codes of on-line demo application
VintaSoft ASP.NET Core File Converter Demo are available in installation of VintaSoft Imaging .NET SDK in folder "<SdkInstallPath>\VintaSoft\Imaging .NET 15.0\Examples\ASP.NET Core\CSharp\AspNetCoreFileConverterDemo\".