You are receiving that error message because you are trying to read from the same stream twice.
Feel free to start a new topic when you have an other issue.
// First time System.Drawing.Bitmap imgIn = new System.Drawing.Bitmap(stream); //Second time (Position is at end of file an will result in an error)using (MagickImageCollection input = new MagickImageCollection(stream))