code: public static boolean isKnownByteFormat( BufferedImage image ) {
  		int type = image.getType();
  		return type != BufferedImage.TYPE_BYTE_INDEXED &&
  				type != BufferedImage.TYPE_BYTE_BINARY &&
  				type != BufferedImage.TYPE_CUSTOM;
  	}
docs: Checks to see if it is a known byte format