{"id":50319630,"url":"https://github.com/erykkruk/flutter_fast_image_editor","last_synced_at":"2026-05-29T02:31:00.891Z","repository":{"id":349709550,"uuid":"1180710884","full_name":"erykkruk/flutter_fast_image_editor","owner":"erykkruk","description":"Native C image editing for Flutter. Blur, sepia, saturation, brightness, contrast, sharpen, grayscale with region-based effects via FFI.","archived":false,"fork":false,"pushed_at":"2026-04-07T06:52:22.000Z","size":151,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T08:28:50.185Z","etag":null,"topics":["blur","dart","ffi","filter","flutter","image-editor","image-processing","native"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erykkruk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"erykkruk","custom":["https://codigee.com"]}},"created_at":"2026-03-13T10:26:24.000Z","updated_at":"2026-04-07T06:52:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/erykkruk/flutter_fast_image_editor","commit_stats":null,"previous_names":["erykkruk/flutter_fast_image_editor"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/erykkruk/flutter_fast_image_editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erykkruk%2Fflutter_fast_image_editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erykkruk%2Fflutter_fast_image_editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erykkruk%2Fflutter_fast_image_editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erykkruk%2Fflutter_fast_image_editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erykkruk","download_url":"https://codeload.github.com/erykkruk/flutter_fast_image_editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erykkruk%2Fflutter_fast_image_editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33634611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blur","dart","ffi","filter","flutter","image-editor","image-processing","native"],"created_at":"2026-05-29T02:31:00.024Z","updated_at":"2026-05-29T02:31:00.886Z","avatar_url":"https://github.com/erykkruk.png","language":"C++","funding_links":["https://github.com/sponsors/erykkruk","https://codigee.com"],"categories":[],"sub_categories":[],"readme":"# fast_image_editor\n\nNative C image editing for Flutter. Blur, sepia, saturation, brightness, contrast, sharpen, grayscale — all with **region-based effects** via Dart FFI.\n\n## Features\n\n- **7 image filters**: blur, sepia, saturation, brightness, contrast, sharpen, grayscale\n- **Region-based effects**: apply filters to rectangular or circular areas\n- **Bicubic resize**: high-quality image resizing via `flutter_bicubic_resize`\n- **Native performance**: all processing in C via FFI — no Dart pixel loops\n- **Sync \u0026 async**: every operation has a sync and `Isolate.run` async variant\n- **Format support**: JPEG and PNG with automatic detection\n\n## Installation\n\n```yaml\ndependencies:\n  fast_image_editor: ^1.0.3\n```\n\n## Quick Start\n\n```dart\nimport 'package:fast_image_editor/fast_image_editor.dart';\n\n// Blur entire image\nfinal blurred = FastImageEditor.blur(bytes: imageBytes, radius: 15);\n\n// Sepia on top 30% and bottom 30%\nfinal sepia = FastImageEditor.sepia(\n  bytes: imageBytes,\n  intensity: 0.8,\n  region: EditRegion(top: 0.3, bottom: 0.3),\n);\n\n// Resize with bicubic interpolation\nfinal resized = FastImageEditor.resize(\n  bytes: imageBytes,\n  outputWidth: 800,\n  outputHeight: 600,\n);\n\n// Async variant (runs in isolate)\nfinal result = await FastImageEditor.blurAsync(bytes: imageBytes, radius: 10);\n```\n\n## API\n\n### Filters\n\n| Method | Parameters | Description |\n|--------|-----------|-------------|\n| `blur` | `radius` (1+) | Box blur, 3 passes for Gaussian approximation |\n| `sepia` | `intensity` (0.0-1.0) | Sepia tone filter |\n| `saturation` | `factor` (0.0=gray, 1.0=original, 2.0=double) | Color saturation |\n| `brightness` | `factor` (-1.0 to 1.0) | Brightness adjustment |\n| `contrast` | `factor` (0.0-2.0, 1.0=original) | Contrast adjustment |\n| `sharpen` | `amount` (0.0-5.0), `radius` (1-10) | Unsharp mask |\n| `grayscale` | — | Luminance: 0.2126R + 0.7152G + 0.0722B |\n\nEvery filter has an async variant (e.g., `blurAsync`, `sepiaAsync`).\n\n### Resize\n\n| Method | Parameters | Description |\n|--------|-----------|-------------|\n| `resize` | `outputWidth`, `outputHeight` | Bicubic resize with auto format detection |\n\nOptional: `filter`, `edgeMode`, `crop`, `cropAnchor`, `cropAspectRatio`, `quality`, `compressionLevel`.\n\n### Region-Based Effects\n\n```dart\n// Blur top 30% only\nFastImageEditor.blur(\n  bytes: imageBytes,\n  radius: 20,\n  region: EditRegion(top: 0.3),\n);\n\n// Grayscale left half\nFastImageEditor.grayscale(\n  bytes: imageBytes,\n  region: EditRegion(left: 0.5),\n);\n\n// Sepia on edges (top 20% + bottom 20% + left 10% + right 10%)\nFastImageEditor.sepia(\n  bytes: imageBytes,\n  region: EditRegion(top: 0.2, bottom: 0.2, left: 0.1, right: 0.1),\n);\n\n// Radial blur — circle in center\nFastImageEditor.blur(\n  bytes: imageBytes,\n  radius: 20,\n  radialRegion: RadialRegion(centerX: 0.0, centerY: 0.0, radius: 0.3),\n);\n```\n\n### Format Detection\n\n```dart\nfinal format = FastImageEditor.detectFormat(bytes);\n// Returns ImageFormat.jpeg, ImageFormat.png, or null\n```\n\n## Common Parameters\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `bytes` | required | JPEG or PNG image data |\n| `region` | `null` (full image) | Area to apply effect |\n| `quality` | `90` | JPEG output quality (1-100). Ignored for PNG. |\n\n## Platform Support\n\n| Platform | Supported |\n|----------|-----------|\n| Android | ✅ |\n| iOS | ✅ |\n\n## License\n\nMIT License. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferykkruk%2Fflutter_fast_image_editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferykkruk%2Fflutter_fast_image_editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferykkruk%2Fflutter_fast_image_editor/lists"}