Interface ThumbnailGenerator


  • public interface ThumbnailGenerator
    • Method Detail

      • generate

        com.atlassian.core.util.thumbnail.Thumbnail generate​(InputStream inputStream,
                                                             File outputFile,
                                                             int maxWidth,
                                                             int maxHeight)
        Generates thumbnail of an image
        Parameters:
        inputStream - image input stream
        outputFile - thumbnail output file
        maxWidth - maximum width
        maxHeight - maximum height
        Returns:
        Thumbnail info