Class InfoReader

java.lang.Object
is.galia.image.InfoReader

public class InfoReader extends Object
Reads image characteristics.
  • Constructor Details

    • InfoReader

      public InfoReader()
  • Method Details

    • setDecoder

      public void setDecoder(Decoder decoder)
      Parameters:
      decoder - Instance from which to read.
    • setFormat

      public void setFormat(Format format)
      Parameters:
      format - Format of the image data supplied by the instance passed to setDecoder(Decoder).
    • read

      public Info read() throws IOException
      Returns:
      New instance describing the image that the decoder has been initialized to read.
      Throws:
      IOException - if there is an issue accessing the source image.
      IllegalStateException - if a decoder or format have not been set.