We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image Quality when converting from html to tiff


We have an application that is converting an html file to tiff (300 dpi CCITT4 compression) using Aspose.Words version using the following code:

EncoderValue compression = EncoderValue.CompressionCCITT4;
long colorDepth = 1L;
TiffOptions saveOptions = new TiffOptions(TiffExpectedFormat.Default);
compression = EncoderValue.CompressionCCITT4;
saveOptions.BitsPerSample = new ushort[] { 1 };
using (Image img = Image.Load(sourceFilePath))
saveOptions.ResolutionSettings = new ResolutionSetting(300, 300);
img.Save(destinationFilePath, saveOptions);

But the text is not readable in the tiff output file it is really blurry, can you hel us with this. Let me know if you need the file or something
Hi Gustavo,

Thanks for your inquiry. Could you please attach your input html document here for testing? We will investigate the issue on our side and provide you more information.