Class Dpi

java.lang.Object
org.forgerock.doc.maven.pre.Dpi

public class Dpi extends Object
Set DPI on .png images in the modifiable copy of the sources.

This class transforms the .png images in place.

  • Constructor Details

    • Dpi

      public Dpi(AbstractDocbkxMojo mojo)
      Constructor setting the Mojo that holds the configuration.
      Parameters:
      mojo - The Mojo that holds the configuration.
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Set DPI on .png images in the modifiable copy of the sources. Default: 160 DPI.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - Failed to edit image file.