Package digilib.image

Enum ImageLoaderDocuImage.Hacks

    • Enum Constant Detail

      • needsInvertRgba

        public static final ImageLoaderDocuImage.Hacks needsInvertRgba
        table for LookupOp for inversion needs four channels including alpha
      • needsRescaleRgba

        public static final ImageLoaderDocuImage.Hacks needsRescaleRgba
        table for RescaleOp for enhance needs four channels
      • needsMapBgr

        public static final ImageLoaderDocuImage.Hacks needsMapBgr
        destination image type for LookupOp(mapBgrByteTable) needs to be (A)BGR
      • forceDestForScaleCustom

        public static final ImageLoaderDocuImage.Hacks forceDestForScaleCustom
        set destination type for scale operation
      • needsPngWriteProfile

        public static final ImageLoaderDocuImage.Hacks needsPngWriteProfile
        add ICC profile to PNG metadata manually
      • needsPngLoadProfile

        public static final ImageLoaderDocuImage.Hacks needsPngLoadProfile
        load ICC profile from PNG metadata manually
      • force16BitToSrgb8

        public static final ImageLoaderDocuImage.Hacks force16BitToSrgb8
        convert images with 16 bit depth to sRGB (and 8 bit depth)
    • Method Detail

      • values

        public static ImageLoaderDocuImage.Hacks[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImageLoaderDocuImage.Hacks c : ImageLoaderDocuImage.Hacks.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageLoaderDocuImage.Hacks valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null