Hi,
When attempting to convert an image and write it to a stream (or bytearray) the conversion is somehow corrupted in the process.
```
var outputStream = new MemoryStream();
using (var magickImage = new MagickImage(src.InputStream, new MagickReadSettings
{
Format = MagickFormat.Jpeg
}))
{
magickImage.Format = MagickFormat.Tiff64;
magickImage.CompressionMethod = CompressionMethod.Group4;
magickImage.ColorSpace = ColorSpace.GRAY;
magickImage.Write(outputStream);
// magickImage.Write("test.tiff") // works :/
}
File.WriteAllBytes("test.tiff", outputStream.ToArray()); // corrupted
```
When attempting to convert an image and write it to a stream (or bytearray) the conversion is somehow corrupted in the process.
```
var outputStream = new MemoryStream();
using (var magickImage = new MagickImage(src.InputStream, new MagickReadSettings
{
Format = MagickFormat.Jpeg
}))
{
magickImage.Format = MagickFormat.Tiff64;
magickImage.CompressionMethod = CompressionMethod.Group4;
magickImage.ColorSpace = ColorSpace.GRAY;
magickImage.Write(outputStream);
// magickImage.Write("test.tiff") // works :/
}
File.WriteAllBytes("test.tiff", outputStream.ToArray()); // corrupted
```