I’m trying to export / save a word document to Tiff - The original word document has several paragraph and page background colors - they all get lost when the image is rendered to Tiff.
Thanks for your inquiry. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.
Aspose.zip (25.1 KB)
As per your suggestion Im providing a sample document.
In fact any word document with page color and or paragraph shading wil do.
Thanks for sharing the documents. Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to fixed file format e.g. PDF, XPS using MS Word, you will get the same output.
We suggest you please upgrade to the latest version of Aspose.Words for .NET 18.10.
I’m already using Asopse Words 18.10 - for some reason the Words to Tiff (or another raster image) conversion does not preserve the layout background in the rasterization process - In contrast this is working fine for Aspose Slides which is applying gray scale transformation to reflect the background - is there a way you / we can use the same rastering engine that Aspose Slides is using?
Thanks for your inquiry. Please ZIP and attach your problematic and expected output TIFF files. We will then provide you more information about your query.
Aspose.zip (450.3 KB)
Attached the source document file and it rendering to tiff.
As a counter example a similar PPT file and itsa rendered tiff image - as you can see in this case the background is preserved - while the words saving / rendering is ignoring the background.
Thanks for sharing the detail. We have tested the scenario using following code example and have not found the issue with page background color. We have attached the output TIFF file with this post for your kind reference. 18.10.zip (66.3 KB)
Document doc = new Document(MyDir + "Aspose.docx"); doc.Save(MyDir + "18.10.tiff");
Thanks for your prompt response.
We need to generate a Fax compatible tiif image - so saving it as a color image wouldn’t do unfortunately,
Here are the relevant Aspose.Words.Saving.ImageSaveOptions I’m using:
options.TiffCompression = Aspose.Words.Saving.TiffCompression.Ccitt3;
options.ImageColorMode = ImageColorMode.Grayscale;
options.PixelFormat = ImagePixelFormat.Format32BppArgb;
options.ImageContrast = 0.5;
Thanks for sharing the detail. We are investigating this issue and will get back to you soon.
We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17664. You will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.
Any news on this issue??
Thanks for your inquiry. We try our best to deal with every customer request in a timely fashion, we unfortunately cannot guarantee a delivery date to every customer issue. We work on issues on a first come, first served basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.
Currently, your issue is pending for analysis and is in the queue. Once we complete the analysis of your issue, we will then be able to provide you an estimate.
You reported this issue in free support forum and it will be treated with normal priority. To speed up the progress of issue’s resolution, we suggest you please check our paid support policies from following link.
Paid Support Policies
We suggest you please use TiffCompression.Lzw instead of TiffCompression.Ccitt3. If the picture seems very dark, you can increase the ImageSaveOptions.ImageBrightness to 0.6f. Hope this helps you.
We have attached the output TIFF file with this post for your kind reference. 18.12.zip (66.4 KB)