GroupDocs.Conversion for Java combines a powerful set of document conversion APIs to display images and document formats in your Java applications without needing to install additional software. It natively rasterizes the documents and converts them into SVG+HTML+CSS to enhance the quality of document viewing while delivering a true-text, high-fidelity output. Using the document rendering API – quickly view PDF, HTML, XML, Microsoft Office Word, Excel worksheets, PowerPoint presentations, Outlook emails, Visio diagrams, Project, metafiles, images and various other file formats with ease and fewer programming hazards. It can also display password-protected files and allow to get document representation as HTML, image or PDF form after the rendering. Our file conversion library is quite customizable, as it allows you to display the whole document, or render it partially to speed up the process. Through GroupDocs.Conversion for Java API, you can view pages, specific cell range in a spreadsheet or even render an individual document layer in formats, such as, PDF and CAD.
GroupDocs.Conversion for Java API allows you to render documents with/without annotation or comments for supported file formats. It also enables you to add custom font directories and extract basic document information such as FileType, Extension, Name, PageCount, etc.
GroupDocs.Conversion for Java is compatible with all Java versions and supports popular operating systems (Windows, Linux, macOS) that are capable to run Java runtime.
Following is an overview of GroupDocs.Conversion for Java:
GroupDocs.Conversion for Java supports converting between all popular and commonly used document file formats.
GroupDocs.Conversion for Java supports following Operating Systems, Frameworks & Package Managers:
Easy Integration & Metered Licensing
Apply Default Zoom while Conversion to Words, Slides or Cells
Conversion to/from most Popular Raster Image Formats & Specify Image DPI, Height & Width
Ability to Grayscale PDF, Rotate PDF & Image while Converting
Set & Specify Watermark in Converted Document as Background
Configure Watermark Transparency & Custom Font Directories
Specify Default Font to Replace Missing Fonts while Converting Documents & Spreadsheets
Convert and Get Output as Path or IO Stream
Delete Comments from Slides during Conversion & Keep Grid-lines while Converting Spreadsheet
Specify Cell Range in Spreadsheet for Conversion & Convert Specific Pages of Document into PDF
Convert Spreadsheet by Skipping Empty Rows and Columns & Show Hidden Sheets
Count Total Pages of a Document & Specify Document Password during Conversion
Option to Delete PDF Annotations
Auto-detection of Source Document Type & Get All Possible Conversions during Streamed Conversion
Get Each Page in Separate Stream during HTML Conversion
Convert Word Documents with Track Changes & Show/Hide Markup
Get all Layouts for CAD Document Type & Specify which Layout to convert from a CAD Document
Set Specific Width and Height for each Layout from a CAD Document
Set the Time Zone of the SENT Field When Converting from Email
Convert Multi-page TIFF Image File to PDF
Adjust Brightness, Contrast & Gamma when Converting a Document to Image
Convert XML Documents without Transformation
Convert Attachments from a Mail Document
Using GroupDocs.Conversion for Java API, you can read input document from a file path as well as a URL. While you can save the output document as a file or sent the output directly into a stream.
You can convert file format of a multitude of document types using GroupDocs.Conversion for Java API. Here you are presented with a few lines of code to perform a basic document conversion using Java.
ConversionConfig config = new ConversionConfig(); //set storage folder config.setStoragePath(storagePath); ConversionHandler conversionHandler = new ConversionHandler(config); ImageSaveOptions saveOptions = new ImageSaveOptions(); saveOptions.setConvertFileType(ImageSaveOptions.ImageFileType.PSD); PsdOptions psdOptions = new PsdOptions(); psdOptions.setColorMode(PsdOptions.ColorModes.GRAYSCALE); psdOptions.setCompressionMethod(PsdOptions.CompressionMethods.RAW); ConvertedDocument result = conversionHandler. convert(sourceFileName, saveOptions); result.save(sourceFileName + "." + result.getFileType());
GroupDocs.Conversion for Java is a simple and to-the-point API that you can integrate into your Java-based applications pretty easily. However, to get you up and running in no time, we also provide easy to follow code samples and comprehensive API documentation.