Search packages, repositories and app categories

Package detailsv5.0.0

image_save

You could use this package to save image to album or sandbox, support Android and iOS.

AndroidiOS
30-day downloads
371
Likes
29
Pub points
140

Install package

flutter pub add image_save

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The image_save package enables developers to save images to the device's album or sandbox storage, supporting both Android and iOS platforms. It provides a straightforward API for handling image persistence, making it ideal for apps that generate or modify images and need to store them locally. The package is particularly useful in photo editing, social media, or any application requiring user-friendly image saving functionality. It integrates seamlessly with Flutter and leverages native platform capabilities for reliable performance.

Use cases

  • Saving generated or edited images
  • Sharing images via app albums
  • Storing temporary images in sandbox
  • Enabling user photo export
  • Integrating with photo editing tools
  • Supporting cross-platform image persistence

Key features

  • Cross-platform support (Android & iOS)
  • Save to album or sandbox
  • Simple and intuitive API
  • Native integration for reliability
  • Lightweight and easy to implement
  • Compatible with Flutter's ecosystem

Suitable for

  • Photo editing applications
  • Social media sharing features
  • Image generation tools
  • Apps needing local image storage
  • Developers seeking simple image saving
  • Projects targeting both Android and iOS

Considerations

  • Requires appropriate permissions on Android and iOS
  • Limited to image file types
  • No advanced compression options
  • Depends on native platform behavior
  • May require additional setup for iOS
  • Not suitable for large-scale media management

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

image_save

version platform starts

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" />
  • iOS

Add the following statement in Info.plist

<key>NSPhotoLibraryUsageDescription</key>
<string>Add the description of the permission you need here.</string>

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();

Categories

Source repository

Projects using this package