public Reader(Stream stream, ElgMetaData info) { m_width = (int)info.Width; m_height = (int)info.Height; m_bpp = info.BPP; m_type = info.Type; m_output = new byte[m_width * m_height * m_bpp / 8]; m_input = new ArcView.Reader(stream); }
public Reader(IBinaryStream stream, ElgMetaData info) { m_width = (int)info.Width; m_height = (int)info.Height; m_bpp = info.BPP; m_type = info.Type; m_output = new byte[m_width * m_height * m_bpp / 8]; m_input = stream; m_input.Position = info.HeaderSize; }
public Reader(Stream stream, ElgMetaData info) { m_width = (int)info.Width; m_height = (int)info.Height; m_bpp = info.BPP; m_type = info.Type; m_output = new byte[m_width*m_height*m_bpp/8]; m_input = new ArcView.Reader (stream); }