Class IccProfileParser

    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • IccProfileParser

        public IccProfileParser()
        Constructs a new instance with the default, big-endian, byte order.
    • Method Detail

      • getIccProfileInfo

        public IccProfileInfo getIccProfileInfo​(byte[] bytes)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getIccProfileInfo

        public IccProfileInfo getIccProfileInfo​(ByteSource byteSource)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getIccProfileInfo

        public IccProfileInfo getIccProfileInfo​(java.io.File file)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getIccProfileInfo

        public IccProfileInfo getIccProfileInfo​(java.awt.color.ICC_Profile iccProfile)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getIccTagType

        private IccTagType getIccTagType​(int quad)
      • isSrgb

        public boolean isSrgb​(byte[] bytes)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • isSrgb

        public boolean isSrgb​(ByteSource byteSource)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • isSrgb

        public boolean isSrgb​(java.io.File file)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • isSrgb

        public boolean isSrgb​(java.awt.color.ICC_Profile iccProfile)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readIccProfileInfo

        private IccProfileInfo readIccProfileInfo​(java.io.InputStream is)
                                           throws java.io.IOException
        Throws:
        java.io.IOException