humble-video-noarch/src/main/java/io/humble/video/awt/MediaPictureConverterFactory.java
public static String findDescriptor(BufferedImage image)
  {
    for (Type converterType: getRegisteredConverters())
      if (converterType.getImageType() == image.getType())
        return converterType.getDescriptor();

    return null;
  }
public static String findDescriptor(BufferedImage image)
  {
    for (Type converterType: getRegisteredConverters())
      if (converterType.getImageType() == image.getType())
        return converterType.getDescriptor();

    return null;
  }
public static String findDescriptor ( BufferedImage image ) { for ( Type converterType : getRegisteredConverters ( ) ) if ( converterType . getImageType ( ) == image . getType ( ) ) return converterType . getDescriptor ( ) ; return null ; }
Find a descriptor given a {@link BufferedImage}.

@param image a buffered image for which to find a descriptor

@return the descriptor which matches the image or NULL if it was
not found
Find a descriptor given a { @link BufferedImage } .