Class BasicImageMagickStrategy

    • Field Detail

      • EMBEDDED_CONFIG_DIR

        @Deprecated
        public static final java.lang.String EMBEDDED_CONFIG_DIR
        Deprecated.
        : since 6.1 ImageMagick in no longer embedded and has to be installed manually.
        The embedded imagemagick configuration directory as shipped with this extension. This value will be used as default.
        See Also:
        setConfigurationDirectory(File), Constant Field Values
    • Method Detail

      • getTmpDir

        public java.io.File getTmpDir()
        Accesses the temporary directory to use. The returned directory will be the ${HYBRIS_TEMP_DIR}/convert if not configured differently (through spring setup). The directory will be created if it does not exist.
        Returns:
        the temporary directory to use.
      • setTmpDir

        public void setTmpDir​(java.io.File tmpDir)
        Sets the temporary directory to use.
        Parameters:
        tmpDir - the temporary directory.
        See Also:
        getTmpDir()
      • getConfigurationDirectory

        public java.io.File getConfigurationDirectory()
                                               throws java.io.IOException
        Accesses the ImageMagick configuration directory. If not configured otherwise the embedded ImageMagick configuration directory will be used.
        Returns:
        the image magick configuration directory
        Throws:
        java.io.IOException
        See Also:
        EMBEDDED_CONFIG_DIR, Customize ImageMagick With Resources
      • setConfigurationDirectory

        public void setConfigurationDirectory​(java.io.File configurationDirectory)
        Sets the image magick configuration directory to use.
        Parameters:
        configurationDirectory - the configuration directory to use.
      • setConfigurationService

        public void setConfigurationService​(ConfigurationService configurationService)