{"id":28471822,"url":"https://github.com/crazecoder/flutter_luban","last_synced_at":"2025-07-01T22:30:44.832Z","repository":{"id":48919247,"uuid":"167338016","full_name":"crazecoder/flutter_luban","owner":"crazecoder","description":"An image compress package like Luban for Dart","archived":false,"fork":false,"pushed_at":"2025-04-26T11:00:13.000Z","size":326,"stargazers_count":215,"open_issues_count":9,"forks_count":55,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-07T11:08:53.804Z","etag":null,"topics":["compression","dart","flutter","image","luban"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazecoder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-24T09:13:01.000Z","updated_at":"2025-05-03T08:13:45.000Z","dependencies_parsed_at":"2024-11-30T14:44:17.490Z","dependency_job_id":"f3ae9143-d756-43e9-9e08-0ffab62b68d8","html_url":"https://github.com/crazecoder/flutter_luban","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crazecoder/flutter_luban","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazecoder%2Fflutter_luban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazecoder%2Fflutter_luban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazecoder%2Fflutter_luban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazecoder%2Fflutter_luban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazecoder","download_url":"https://codeload.github.com/crazecoder/flutter_luban/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazecoder%2Fflutter_luban/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046035,"owners_count":23405120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["compression","dart","flutter","image","luban"],"created_at":"2025-06-07T11:08:57.913Z","updated_at":"2025-07-01T22:30:44.816Z","avatar_url":"https://github.com/crazecoder.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_luban\n[![pub package](https://img.shields.io/pub/v/flutter_luban.svg)](https://pub.dartlang.org/packages/flutter_luban)\n\nAn image compress package like [Luban](https://github.com/Curzibn/Luban) for Dart, based on [image](https://github.com/brendan-duncan/image).This library has no system platform constraints.\n\n### Example\n```dart\n   CompressObject compressObject = CompressObject(\n         imageFile:imageFile, //image\n         path:tempDir.path, //compress to path\n         quality: 85,//first compress quality, default 80\n         step: 9,//compress quality step, The bigger the fast, Smaller is more accurate, default 6\n         mode: CompressMode.LARGE2SMALL,//default AUTO\n       );\n    Luban.compressImage(compressObject).then((_path) {\n        setState(() {\n          print(_path);\n        });\n    });\n```\n![](https://github.com/crazecoder/flutter_luban/blob/62bae66c5d067db82117038c6bb8bac2d54e14f9/screenshot/test.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazecoder%2Fflutter_luban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazecoder%2Fflutter_luban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazecoder%2Fflutter_luban/lists"}