docs: static boolean isOffendingColorProfile(final ICC_Profile profile) {
          Validate.notNull(profile, "profile");
  
          // NOTE:
          // Several embedded ICC color profiles are non-compliant with Java pre JDK7 and throws CMMException
          // The problem with these embedded ICC profiles seems to be the rendering intent
          // being 1 (01000000) - "Media Relative Colormetric" in the offending profiles,
          // and 0 (00000000) - "Perceptual" in the good profiles
          // (that is 1 single bit of difference right there.. ;-)
          // See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7064516
  
          // This is particularly annoying, as the byte copying isn't really necessary,
          // except the getRenderingIntent method is package protected in java.awt.color
          byte[] header = profile.getData(ICC_Profile.icSigHead);
  
          return header[ICC_Profile.icHdrRenderingIntent] != 0 || header[ICC_Profile.icHdrRenderingIntent + 1] != 0
                  || header[ICC_Profile.icHdrRenderingIntent + 2] != 0 || header[ICC_Profile.icHdrRenderingIntent + 3] > 3;
      }