I know that i can save the image as:
using (MemoryStream inputStream = new MemoryStream(InputFile))
{
Aspose.Imaging.Image imgInput=Aspose.Imaging.Image.Load(inputStream);
using (MemoryStream outputStream = new MemoryStream())
{
imgInput.Save(outputStream, new Aspose.Imaging.SaveOptions.TiffSaveOptions());
}}</pre><pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><br></pre><pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; ">But how can i set my own compress (<span style="background-color: white; ">CCITT4)?</span></pre><pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span style="background-color: white; "><br></span></pre><pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span style="background-color: white; ">Thanks</span></pre><pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><br></pre></div>