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

Free Support Forum - aspose.com

Convert multipage Tiff to CittG4

I’ve looked through all of the documentation and can’t find code to convert from a color tiff to a 1bpp CittG4 tiff.


I know it would be using Aspose.Imaging toolkit. Can you post the code to do so or point me in the right direction please.

Hi Tom,


Thank you for contacting Aspose support.

I believe you meant CCITT4. If so, you may convert any image to CCITT4 compressed TIFF using the following lines of code.

C#

Image image = Image.Load(sourceImage);
image.Save(outputImage, new TiffOptions() { Compression = TiffCompressions.CcittFax4});

Please feel free to contact us back in case you have any concerns.