# extractImagesFromPdf method

Future<ExtractedImagesFromPdfResult> extractImagesFromPdf(

1. ExtractImagesFromPdfParams params

)

Extracts images from the given PDF document based on `params`.

Returns a result containing the extracted images.

## Implementation

    Future<ExtractedImagesFromPdfResult> extractImagesFromPdf(
        ExtractImagesFromPdfParams params) async {
      try {
        var result = await ScanbotSdk.channel
            .invokeMethod('extractImagesFromPdf', params.toJson());

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