Save bitonal TIFFs with VB.NET using photometric 0

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.