Java WMF Reader
The JDeli Java image library includes a WMF Reader to read WMF images into Java. The WMF Decoder is written in 100% Java and provides WMF support with no dependencies.
What is supported
The JDeli WMF reader supports the following features:
| Feature | Supported |
|---|---|
| Takes file input | Yes |
| Takes InputStream input | Yes |
| Takes byte[] input | Yes |
| Pure Java implementation | Yes |
Quick start:
Add JDeli to your project via Maven or Gradle, or see using JDeli with Java modules.
JDeli can automatically detect the file type and will use the WMF File Reader
BufferedImage image = JDeli.read(wmfImageFile);
or
WmfDecoder decoder = new WmfDecoder();
BufferedImage image = decoder.read(wmfData);
Frequently asked questions
Can Java read or decode WMF files without external libraries?
No. Java’s built-in ImageIO does not support reading or decoding WMF files. JDeli provides a pure-Java WMF decoder with no dependencies required.
Does reading or decoding WMF in Java with JDeli require additional libraries?
No. JDeli is a 100% Java library with no dependencies. It runs on any platform where the JVM runs with no additional installation.
What input types does JDeli support for reading WMF?
JDeli can read and decode WMF from a File, InputStream, or byte array.