Class ImageInit

java.lang.Object
org.mapfish.print.ImageInit

public class ImageInit extends Object
Initializes image plugins (initially for WebP support) at application startup.

This class registers the WebP image reader plugin with the Java ImageIO framework, enabling support for WebP images. Typically used in a servlet context.

  • Constructor Details

    • ImageInit

      public ImageInit()
  • Method Details

    • init

      @PostConstruct public final void init()
      Initializes image plugins if the mapfish.image.plugins system property is set to true. Registers additional image readers such as WebP.