{"id":27918392,"url":"https://github.com/imablanco/imageprovider","last_synced_at":"2025-05-06T18:21:56.786Z","repository":{"id":50656623,"uuid":"149013111","full_name":"imablanco/ImageProvider","owner":"imablanco","description":"The easiest way to gather images from camera, gallery, etc.","archived":false,"fork":false,"pushed_at":"2022-07-31T11:52:15.000Z","size":146,"stargazers_count":30,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T02:17:22.321Z","etag":null,"topics":["android","android-library","android-photo-picker","androidimage"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imablanco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-16T16:16:36.000Z","updated_at":"2023-10-11T09:52:14.000Z","dependencies_parsed_at":"2022-09-26T22:11:26.086Z","dependency_job_id":null,"html_url":"https://github.com/imablanco/ImageProvider","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imablanco%2FImageProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imablanco%2FImageProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imablanco%2FImageProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imablanco%2FImageProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imablanco","download_url":"https://codeload.github.com/imablanco/ImageProvider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741740,"owners_count":21797076,"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":["android","android-library","android-photo-picker","androidimage"],"created_at":"2025-05-06T18:21:55.969Z","updated_at":"2025-05-06T18:21:56.767Z","avatar_url":"https://github.com/imablanco.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.imablanco/imageprovider/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.imablanco/imageprovider)\n\n# ImageProvider\nThe easiest way to gather images from camera, gallery, etc.\nRetrieve images from camera or gallery without all the boilerplate required (declaring FileProviders, Activtiy result management, bitmap conversion, etc.)\n\n## Installation\n\nImageProvider is available in the Maven Central, so you just need to add it as a dependency\n```groovy\nimplementation 'io.github.imablanco:imageprovider:{latest version}'\n```\n\n## Usage \n\nUsing ImageProvider is super simple, just choose the source to pick the image from and the library will do all the stuff behind the scenes for you\n\nPick images from Camera:\n\n```kotlin\nImageProvider(activity).getImage(ImageSource.CAMERA){ bitmap -\u003e \n            //do stuff\n        }       \n```\n\nOr from device gallery\n\n```kotlin\nImageProvider(activity).getImage(ImageSource.GALLERY){ bitmap -\u003e \n            //do stuff\n        }\n            \n```\n\nThat's all!\n\n### Note\n\nCamera permissions request is beyond the scope of this library, so make sure you have the appropiated permissions granted before calling any methods.\n\nLicense\n=======\n\n    Copyright 2022 Álvaro Blanco Cabrero\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimablanco%2Fimageprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimablanco%2Fimageprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimablanco%2Fimageprovider/lists"}