@Override
    public BufferedImage read(final int imageIndex, final ImageReadParam param) throws IOException {
      return getImages()[imageIndex];
    }
@Override
    public BufferedImage read(final int imageIndex, final ImageReadParam param)