Class AbstractImageLoader

    • Constructor Detail

      • AbstractImageLoader

        public AbstractImageLoader()
    • Method Detail

      • getUsagePenalty

        public int getUsagePenalty()
        Returns the penalty assigned to using this image loader. The value is used to select the best processing chain for images.
        Specified by:
        getUsagePenalty in interface ImageLoader
        Returns:
        the usage penalty (must be a non-negative integer)
      • ignoreColorProfile

        protected boolean ignoreColorProfile​(Map hints)
        Indicates whether an embedded color profile should be ignored.
        Parameters:
        hints - a Map of hints that can be used by implementations to customize the loading process (may be null).
        Returns:
        true if any color profile should be ignored