static ModuleDefinition ReadModule(Disposable <Stream> stream, string fileName, ReaderParameters parameters) { Mixin.CheckParameters(parameters); return(ModuleReader.CreateModule( ImageReader.ReadImage(stream, fileName), parameters)); }