Interface ImageMagickService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void convert​(java.util.List<java.lang.String> commandOptions)
      Executes a conversion with the specified list of options.
      java.lang.String identify​(java.util.List<java.lang.String> commandOptions)
      Executes image identification with the specified options.
    • Method Detail

      • convert

        void convert​(java.util.List<java.lang.String> commandOptions)
              throws java.io.IOException
        Executes a conversion with the specified list of options. The options available are numerous and listed on the ImageMagick command line options page.
        Parameters:
        commandOptions - the bold command line options (including input and output files if applicable).
        Throws:
        java.io.IOException - on any error
      • identify

        java.lang.String identify​(java.util.List<java.lang.String> commandOptions)
                           throws java.io.IOException
        Executes image identification with the specified options. Please see ImageMagick Identify Command-line Tool for usage and option descriptions.
        Parameters:
        commandOptions - bold command line options to the identify command (including the input file).
        Returns:
        the commands (std) output.
        Throws:
        java.io.IOException - on any error.