Class ImageMagickImageThumbnailFilter

All Implemented Interfaces:
FormatFilter

public class ImageMagickImageThumbnailFilter extends ImageMagickThumbnailFilter
Filter image bitstreams, scaling the image to be within the bounds of thumbnail.maxwidth, thumbnail.maxheight, the size we want our thumbnail to be no bigger than. Creates only JPEGs.
  • Constructor Details

    • ImageMagickImageThumbnailFilter

      public ImageMagickImageThumbnailFilter()
  • Method Details

    • getDestinationStream

      public InputStream getDestinationStream(Item currentItem, InputStream source, boolean verbose) throws Exception
      Description copied from interface: FormatFilter
      Read the source stream and produce the filtered content.
      Parameters:
      currentItem - item
      source - source input stream
      verbose - verbose mode
      Returns:
      InputStream the resulting input stream
      Throws:
      Exception - if error