# createTIFFForDocument method

Future<ResultWrapper<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<ResultWrapper<CreateTIFFResult>> createTIFFForDocument(
        TIFFFromDocumentParams params) async {
      try {
        var result = await SharedCalls.invoke(
            ScanbotSdk.channel, 'createTIFFForDocument', params.toJson());

        return ResultWrapper.fromJson(jsonDecode(result),
            fromJsonT: CreateTIFFResult.fromJson);
      } catch (e) {
        Logger.root.severe(e);
        return ResultWrapper.error(e.toString());
      }
    }