Tiff manuplating rotate

Hi,

I have tried to rotate tiff save the
inputFilePath and outputFilePath as same name ,its throwing exception



var exportImageOption = new TiffOptions(TiffExpectedFormat.Default);
using (var multiImage = (TiffImage)Image.Load(inputFilePath))
{
exportImageOption.Compression =multiImage.ActiveFrame.FrameOptions.Compression;
foreach (var t in multiImage.Frames)
{
var frame = TiffFrame.CopyFrame(multiImage.Frames[0]);
var copiedFrame = TiffFrame.CreateFrameFrom(t, exportImageOption);
var toSaveTiff = new TiffImage(frame);
toSaveTiff.Rotate(degree, true, multiImage.ActiveFrame.BackgroundColor);
toSaveTiff.Save(outputFilePath, exportImageOption);
}
}

Hi Aravind,

I have observed your comments and request you to please share the source TIFF file creating issue on your end. We will be able to investigate the issue further on provision of requested information.

Many Thanks,