# createTIFFForDocument method

Future<CreateTIFFResult> createTIFFForDocument(

1. TIFFFromDocumentParams params

)

Creates a TIFF for the given document. Please check the extra options that are part of the input params to modify the created TIFF file per your needs.

## Implementation

    Future<CreateTIFFResult> createTIFFForDocument(
        TIFFFromDocumentParams params) async {
      try {
        var result = await ScanbotSdk.channel
            .invokeMethod('createTIFFForDocument', params.toJson());

        return CreateTIFFResult.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        rethrow;
      }
    }