Created
November 3, 2019 20:48
-
-
Save GroupDocsGists/0a984b16b1dcca2de9b4e48096d19345 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java | |
// Instantiating the conversion handler | |
ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration()); | |
PdfSaveOptions saveOption = new PdfSaveOptions(); | |
ConvertedDocument convertedDocumentPath = conversionHandler.<String> convert("sample.png", saveOption); | |
convertedDocumentPath.save("output" + "." + convertedDocumentPath.getFileType()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment