code: public static ImageHeader get(Media media)
      {
          Check.notNull(media);
  
          for (final ImageHeaderReader reader : FORMATS)
          {
              if (reader.is(media))
              {
                  return read(media, reader);
              }
          }
          throw new LionEngineException(media, ERROR_READ);
      }
docs: Get the image info of the specified image media.
  
  @param media The media (must not be <code>null</code>).
  @return The image info instance.
  @throws LionEngineException If media is <code>null</code> or cannot be read.