image_save

Last updated:

0 purchases

image_save Image
image_save Images
Add to Cart

Description:

image save

image_save #



Save image to album, support Android and iOS.
Permission #


Android #


Add the following statement in AndroidManifest.xml:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
copied to clipboard


iOS #


Add the following statement in Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Add the description of the permission you need here.</string>
copied to clipboard
Usage #
See Example
// Save to album.
bool success = await ImageSave.saveImage(data, "demo.gif", albumName: "demo");

// Save to sandbox.
// Notice: Image saved in this way will be deleted when the application is uninstalled.
bool success = await ImageSave.saveImageToSandbox(data, "demo.gif");

// Get images from Sandbox.
List<Uint8List> imageDatas = await ImageSave.getImagesFromSandbox();
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.