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

New Post: tiff Rotate error

$
0
0
User got below error after rotating a tiff image by 90 degrees twice. All attempts to rotate third time to correct orientation would throw below error. This is not happening for all the images and we see this error only once every couple of months. Do we know what this error code is?

Message:
w3wp.exe: IO error writing tag data. `TIFFWriteDirectoryTagData' @ error/tiff.c/TIFFErrors/556
StackTrace:
 at ImageMagick.Wrapper.MagickImage.HandleException(MagickException exception)
at ImageMagick.Wrapper.MagickImage.ToByteArray()
Method Definition:
public byte[] Rotate(byte[] data)
        {
            byte[] result=null; 
                    using (MagickImage image = new MagickImage(data))
                    {
                        image.Rotate(90);
                        result = image.ToByteArray();
                    }  
            }
            return result;
        }
Thanks you in advance!

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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