패키지, 저장소 및 앱 카테고리 검색

패키지 상세v3.0.0

isolate_image_compress

IsolateImageCompress는 IsolateFlutter에서 이미지를 압축하고 크기를 조정하는 데 사용되는 패키지입니다.

30일 다운로드
83
좋아요
24
Pub 점수
160

패키지 설치

flutter pub add isolate_image_compress

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

IsolateImageCompress는 Isolate를 사용하여 이미지를 압축하고 크기를 조정하도록 설계된 Dart 패키지로, Flutter 애플리케이션에서 블로킹되지 않는 성능을 보장합니다. IsolateFlutter를 활용해 이미지 처리 작업을 메인 스레드에서 분리함으로써, 집중적인 작업 중에도 앱의 반응성을 향상시킵니다. UI가 멈추지 않도록 대용량 이미지나 일괄 이미지 처리에 이상적입니다. 효율적인 메모리 사용과 기존 Flutter 워크플로우와의 원활한 통합을 지원합니다.

사용 사례

  • 사용자가 업로드한 이미지 압축
  • 업로드 전 이미지 크기 조정
  • 여러 이미지의 배치 처리
  • 이미지 조작 중 UI 반응성 향상
  • 고해상도 사진을 효율적으로 처리하는 방법

주요 기능

  • Isolate에서 이미지 처리를 실행합니다
  • 비차단 UI 작업
  • 압축 및 크기 조정을 지원합니다
  • 효율적인 메모리 관리
  • Flutter와의 간단한 통합

적합한 대상

  • 실시간 이미지 처리가 필요한 앱
  • 미디어 집약형 애플리케이션
  • 이미지 업로드 기능
  • 성능 중심 애플리케이션
  • 스레드 안전한 이미지 작업을 원하는 개발자

고려 사항

  • isolates에 대한 이해가 필요합니다
  • 제한된 플랫폼 지원이 언급됨
  • 복잡한 워크플로우의 경우 추가 구성이 필요할 수 있습니다
  • 간단한 단일 이미지 작업에 적합하지 않습니다
  • 핵심 기능을 위해 IsolateFlutter에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Isolate Flutter

This repository holds three packages. IsolateHttp and IsolateImageCompress are both built on top of IsolateFlutter.

Package Version Description
isolate_flutter 4.0.0 Create and manage isolates
isolate_http 4.0.0 Run http requests in an isolate
isolate_image_compress 3.0.0 Compress and resize images in an isolate

Requirements

Flutter >=3.35.0, Dart ^3.9.0. Verified against Flutter 3.44.

IsolateFlutter

Pub

IsolateFlutter is a useful package for you who want to make and manage Isolate. It is based on dart:isolate so it only support iOS and Android.

IsolateHttp

Pub

IsolateHttp provides a way to launch http package with IsolateFlutter.

IsolateImageCompress

Pub

IsolateImageCompress is a package to compress and resize the images in isolate (IsolateFlutter).

Working on this repository

isolate_http and isolate_image_compress depend on the published isolate_flutter. A pubspec_overrides.yaml in each of them points at the local copy instead, so the whole repository resolves against your working tree. Those overrides are ignored by dart pub publish.

When releasing, publish isolate_flutter first — the other two depend on it.

cd isolate_flutter && flutter test
cd ../isolate_http && flutter test
cd ../isolate_image_compress && flutter test

Author

IsolateFlutter is developed by Thong Dang. You can contact me at thongdn.it@gmail.com

If you like my project, you can support me Buy Me A Coffee or star (like) for it.

Thank you! ❤️

카테고리

의존성

의존성 목록 2 개

  • image^4.9.1
  • isolate_flutter^4.0.0

소스 저장소

이 패키지를 사용하는 프로젝트