This project has moved and is read-only. For the latest updates, please go here.

tiff Rotate error

Feb 1, 2016 at 3:18 PM
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?

w3wp.exe: IO error writing tag data. `TIFFWriteDirectoryTagData' @ error/tiff.c/TIFFErrors/556
 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))
                        result = image.ToByteArray();
            return result;
Thanks you in advance!
Feb 1, 2016 at 6:13 PM
Do you have an input image that I can use to reproduce this? If it is not happening for all the images I would really need one image that I can use to reproduce the issue. Feel free to contact me through CodePlex if you don't want to share it publicly.