Converter converter = new Converter(“C:\test3.wmf”);
// Prepare conversion options for target format PDF
ConvertOptions convertOptions = FileType.fromExtension(“jpeg”).getConvertOptions();
// Convert to PDF format
converter.convert(“C:\output3.jpeg”, convertOptions);
output.pdf (482.5 KB)
output.jpg (248.7 KB)
Using the above code to convert WMF to PDF or JPEG will be Chinese garble. Garbled files as above
. The WMF file cannot be uploaded