Created
January 7, 2022 08:38
-
-
Save aspose-com-gists/f75d794e7291610a8da759d4b4703aa7 to your computer and use it in GitHub Desktop.
Convert CFF to PDF Programmatically in Java
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
// Load the input CFF file with CF2 file extension | |
Image image = Image.load("Test.cf2"); | |
// Initialize PdfOptions class object | |
PdfOptions options = new PdfOptions(); | |
// Set properties for the output PDF file | |
options.getPdfDocumentInfo().setTitle("Convert CFF to PDF"); | |
// Save output PDF file | |
image.save("CF2toPDF.pdf", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment