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:
Message:
w3wp.exe: IO error writing tag data. `TIFFWriteDirectoryTagData' @ error/tiff.c/TIFFErrors/556StackTrace:
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!