Table of contents

ImageIO

The ImageIO class provides API to handle image input/output operations such as saving images to the file system. This class allows the library to read and write image data to the file system.

Definition

Assembly: dynamsoft_capture_vision_flutter

class ImageIO

Methods

saveToFile

Saves the provided ImageData object (which represents an image) to a file at the specified file path.

Future<void> saveToFile(ImageData image, String path, bool overwrite) async

Remarks

The overwrite input parameter should be set to true if the file already exists at the specified file path.

readFromFile

Reads an image from a file at the specified file path and returns an ImageData object that represents the image.

Future<ImageData?> readFromFile(String path) async

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: