When I merge two large tif images, the output is corrupted.
I use Magick.NET-Q16-x64 V7.14.3.
Code: Select all
using (MagickImageCollection images = new MagickImageCollection())
{
MagickNET.SetTempDirectory(@"d:\");
images.Add(new MagickImage(txtAddress2.Text, new MagickReadSettings { Endian = Endian.LSB }));
images.Add(new MagickImage(txtAddress1.Text, new MagickReadSettings { Endian = Endian.LSB }));
using (IMagickImage image = images.AppendHorizontally())
{
image.Endian = Endian.LSB;
image.Settings.SetDefine("tiff:endian", "lsb");
image.Write(@"d:\output" + new Random().Next() + ".tif");
}
}
Code: Select all
convert _1.tif _11.tif +append -define tiff:endian=lsb 123.tif
magick: Unknown field with tag 292 (0x124) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1013.
magick: Unknown field with tag 32785 (0x8011) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1013.
magick: Unknown field with tag 292 (0x124) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1013.
magick: Unknown field with tag 32785 (0x8011) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1013.
System Information :
OP: win 10 x64
Ram:64Gig
Cpu:I7
GPU: 8Gig
FreeSpace:400Gig
Tif Format :
size: 2Gig
Mode : bitmap
Compression : lzw
pixel order : interleaved
byte order : lsb
Thanks for the help...