Examples

All imageio plugins share the same ImageIO entry point. Add the format’s dependency, then read the file.

Read an SVG

BufferedImage image = ImageIO.read(new File("image.svg"));

Read an EMF

BufferedImage image = ImageIO.read(new File("image.emf"));

Read a WMF

BufferedImage image = ImageIO.read(new File("image.wmf"));

Read dimensions without rendering

The plugins support reading metadata (e.g. dimensions) without a full render, keeping the operation lightweight.

Next steps

  • Getting Started — add a plugin and read your first image.
  • Features — the standard-API, lightweight, metadata-focused design.