Class CreateThumbs

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

public class CreateThumbs extends Object
Create thumbnails of .png images in the modifiable copy of the sources.

This class creates resized thumbnail files prefixed with 'thumb_' in the same directory as the original image.

  • Constructor Details

    • CreateThumbs

      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
      Create thumbnails of .png images in the modifiable copy of the sources.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - Failed to edit image file.