Hi,
I’m rotating tiff images using the following code:
using (var image = Aspose.Imaging.Image.Load(input))
{
switch (angle)
{
case 90:
image.RotateFlip(Aspose.Imaging.RotateFlipType.Rotate90FlipNone);
break;
case 180:
image.RotateFlip(Aspose.Imaging.RotateFlipType.Rotate180FlipNone);
break;
case 270:
image.RotateFlip(Aspose.Imaging.RotateFlipType.Rotate270FlipNone);
break;
}
image.Save(input);
}
But it seems that it is loosing the compression of the tiff as well as the bitdepthbpp is changing please look at the attachments, is there a way to rotate the tiff image without loosing or changing those inner properties? Please see attachments for more information on the issuefiles.zip (168.2 KB)