writeImage static method

Future<File?> writeImage(
  1. int page,
  2. String path,
  3. String fileName
)

Generates a JPG from the loaded or scanned page and saves it to a local file. Provide the page which you want to export as JPG file and the path and fileName where to save it.

Implementation

static Future<File?> writeImage(int page, String path, String fileName) {
  return DocutainSdkPlatform.instance.writeImage(page, path, fileName);
}