# createPDFFromImages method

Future<CreatePDFResult> createPDFFromImages(

1. CreatePDFArguments params

)

Creates a PDF file from the given `params`.

`params` must contain image URIs, compression settings, and output path.

## Implementation

    Future<CreatePDFResult> createPDFFromImages(CreatePDFArguments params) async {
      try {
        var result = await ScanbotSdk.channel
            .invokeMethod('createPDFFromImages', params.toJson());

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