Hi, I am having an error when converting 2 pages TIF Files into a single file .jpg . What is the right approach for this?
Here's the error
Here's the error
ImageMagick.MagickCoderErrorException: Magick: C:\DigitalAssets\Saucisses Expo 008.tif: Null count for "Tag 33426" (type 4, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/561
at ImageMagick.MagickImage.HandleReadException(MagickException exception)
at ImageMagick.MagickImage.Read(String fileName, MagickReadSettings readSettings)
at Digital_Asset_Converter_Service.Service.EPSFolderWatcher_Created(Object sender, FileSystemEventArgs e)
and the code: (I just provided the code for reading the file but it still gives an error.) MagickReadSettings settings = new MagickReadSettings();
settings.ColorSpace = ColorSpace.RGB;
settings.FrameIndex = 0;
string fileName = @"C:\DigitalAssets\Saucisses Expo 008.tif";
try
{
using (MagickImageCollection image = new MagickImageCollection())
{
image.Read(fileName,settings);
}
}