Saving a Bitonal TIFF with Photometric 0 (White Is 0) & CCITT4 Compression in VB.NET

This example shows how to save a bitonal TIFF document with photometric 1 and CCITT4 compression. Some (buggy) image viewers, such as Windows Picture and Fax Viewer used in Windows XP, ignore the photometric interpretation tag of group 3 and group 4 TIFF documents by assuming that black is always encoded with 1, and therefore display them as reversed when the photometric is set to 1.

Information

This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.