-
-
Save GroupDocsGists/11ac65019418c67b8f05ca037d70bcb3 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 | |
// Setup Conversion configuration | |
ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration()); | |
ImageSaveOptions options = new ImageSaveOptions(); | |
options.setRotateAngle(45); | |
ConvertedDocument result = conversionHandler.<String>convert(sourceFileName, options); | |
result.save(sourceFileName + "." + result.getFileType()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment