Buscar pacotes, repositórios e categorias de apps

Repositório GitHubtejbhansahu/multi_image_crop

multi_image_crop

Um pacote Flutter para cortar múltiplas imagens ao mesmo tempo no iOS e no Android.

Capa do projeto multi_image_crop
Estrelas
6
Forks
9
Último push (UTC)
5 de fev. de 2024
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

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.

Tejbhan Sahu  GitHub avatar
Autor no GitHub

Tejbhan Sahu ↗

InnovationM Technology Solutions Pvt. Ltd.NoidaSite oficial ↗
LinguagensDartRubySwiftKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 7 itens

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗