Hi In below code we have tried all kind of available PixelFormat but it seems Aspose is reseting it by their own.
Aspose.Words.Document wrdf; Aspose.Words.Loading.LoadOptions loadOption = new Aspose.Words.Loading.LoadOptions(); loadOption.LoadFormat = Aspose.Words.LoadFormat.Text; wrdf = new Aspose.Words.Document(fileDetail.FileInfo.FullName, loadOption); Aspose.Words.Saving.ImageSaveOptions saveOptions = new Aspose.Words.Saving.ImageSaveOptions(Aspose.Words.SaveFormat.Tiff); saveOptions.PixelFormat = Aspose.Words.Saving.ImagePixelFormat.Format1bppIndexed; saveOptions.TiffCompression = Aspose.Words.Saving.TiffCompression.Lzw; saveOptions.Resolution = 300; saveOptions.SaveFormat = Aspose.Words.SaveFormat.Tiff; wrdf.Save(fileDetail.OutputPath, saveOptions);
We are stuck now as Our file size is high due to that. It only accept 24 and 32. We need to set BitDepth of tiff image.
What ever value we put it convert to 24 or 32 Bit.
We need a quick solution of this.