搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.3

multi_image_crop

一個 Flutter 套件,可在 iOS 與 Android 上同時裁剪多個影像。

AndroidiOS
近 30 天下載
14
喜歡數
29
Pub 分數
125

安裝套件

flutter pub add multi_image_crop

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,可在 Android 與 iOS 平台上同時裁剪多張圖片。它提供無縫、使用者友善的介面,用於批量選擇與調整圖像裁切,非常適合需要批次圖像處理的應用程式。此套件以原生效能為設計重點,確保在各類裝置上都能順暢運作。僅需使用簡單的 pub 命令即可輕鬆整合至現有的 Flutter 專案中。專為尋求高效圖像操作且無需複雜設定的開發者所設計。

適用情境

  • 批量圖像編輯
  • 使用者個人檔案照片管理
  • 電子商務產品圖像處理
  • 社群媒體內容準備
  • 影像庫組織

主要特色

  • 支援多張圖片選擇
  • 跨平台相容性(iOS 與 Android)
  • 直覺式的裁切介面
  • 高效的批量處理
  • 透過 pub.dev 的簡單整合

適合對象

  • 開發圖像密集型應用的開發者
  • 需要批量圖像編輯的應用程式
  • 以行動裝置為首的設計工作流程
  • 內容管理系統
  • 照片分享平台

使用建議

  • 需要適當的影像存取權限
  • 可能影響非常大的影像集的效能
  • 僅限iOS和Android平台
  • 依賴於底層原生影像處理函式庫
  • 不適用於伺服器端圖像處理

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Multi Image Cropper package for Flutter

A flutter package to crop multiple images at a time on iOS and Android.

Features

Image Cropping Preview

The package comes with a MultiImageCrop.startCropping() method. The method crop and filter only images.

The package is working with files to avoid passing large amount of data through method channels. Files are stored in cache folders of iOS and Android. Thus if there is a need to save actual croped image, ensure to copy the file to other location.

All of the computation intensive work is done off a main thread via dispatch queues on iOS and cache thread pool on Android.

Credits notice

This package use image_crop plugin, original credits goes to him. This plugin fundamentally good in our opinion. The main differences in this package include:

  • Multiple image crop
  • Image filters

Note: This package is still under development, some features are not available yet and testing has been limited.

Using

Create a method and pass list of image or a single image to crop:

MultiImageCrop.startCropping(
    context: context,
    aspectRatio: 4 / 3,
    activeColor: Colors.amber,
    pixelRatio: 3,
    files: List.generate(
        receivedFiles!.length, (index) => File(receivedFiles![index].path)),
    callBack: (List<File> images) {
      setState(() {
        croppedFiles = images;
      });
    });

Support

The following support channels are available at your fingertips:

License

This package is released under Apache 2.0 License.

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。