Class AbstractImageConverter

    • Constructor Detail

      • AbstractImageConverter

        public AbstractImageConverter()
    • Method Detail

      • checkSourceFlavor

        protected void checkSourceFlavor​(Image img)
        Checks if the source flavor of the given image is compatible with this ImageConverter.
        Parameters:
        img - the image to check
      • getConversionPenalty

        public int getConversionPenalty()
        Returns the conversion penalty for the conversion that this implementation supports.
        Specified by:
        getConversionPenalty in interface ImageConverter
        Returns:
        the conversion penalty (must be a non-negative integer)