# TiffCreationOptions.withLegacyImageFilterType constructor

TiffCreationOptions.withLegacyImageFilterType(

1. LegacyBinarizationFilter binarizedImageFilterType, {
2. int? dpi = 72,
3. TiffCompression? compression = TiffCompression.CCITT_T6,

})

## Implementation

    TiffCreationOptions.withLegacyImageFilterType(
        LegacyBinarizationFilter binarizedImageFilterType,
        {this.dpi = 72,
        this.compression = TiffCompression.CCITT_T6})
        : _binarizationFilter = LegacyFilter(
              filterType: binarizedImageFilterType.toImageFilter().typeIndex);