code: private static ImageHeader read(Media media, ImageHeaderReader reader)
      {
          Check.notNull(media);
          Check.notNull(reader);
  
          try (InputStream input = media.getInputStream())
          {
              return reader.readHeader(input);
          }
          catch (final IOException exception)
          {
              throw new LionEngineException(exception, media, ERROR_READ);
          }
      }
docs: Read image header.
  
  @param media The media to read (must not be <code>null</code>).
  @param reader The header reader (must not be <code>null</code>).
  @return The header read.
  @throws LionEngineException If invalid arguments or cannot be read.