public override ImageData Read(IBinaryStream file, ImageMetaData info) { var reader = new TanReader(file, (TanMetaData)info); var pixels = reader.UnpackFrame(0); return(ImageData.Create(info, reader.Format, reader.Palette, pixels)); }
public TanFrameDecoder(IBinaryStream input, TanMetaData info, int frame) : base(input, info) { m_frame = frame; m_reader = new TanReader(m_input, info); }