Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Converting 2 pages TIF Files to jpg

$
0
0
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
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);
                        }
                    }

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>