All Projects → akshay2211 → Piximagepicker

akshay2211 / Piximagepicker

Licence: apache-2.0
Pix is a Whatsapp image picker replica. with this, you can integrate an image picker just like WhatsApp.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Piximagepicker

Picker
Picker - A CameraX based WhatsApp Style Image-Video Picker
Stars: ✭ 69 (-85.86%)
Mutual labels:  whatsapp, picker, imagepicker, photo-gallery
Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (-16.19%)
Mutual labels:  picker, imagepicker, photo-gallery
Yimagepicker
小红书多图剪裁+微信图片选择器+大图预览+图片剪裁(支持圆形剪裁和镂空剪裁),已适配androidQ,借鉴并升级matisse加载内核!超强定制性可轻松实现知乎/马蜂窝/微博等特殊样式!支持跨进程回调!内部结构轻量级,无任何第三方开源库!支持support依赖!
Stars: ✭ 975 (+99.8%)
Mutual labels:  imagepicker, photo-gallery
Androidpicker
安卓选择器类库,包括日期及时间选择器(可用于出生日期、营业时间等)、单项选择器(可用于性别、民族、职业、学历、星座等)、二三级联动选择器(可用于车牌号、基金定投日期等)、城市地址选择器(分省级、地市级及区县级)、数字选择器(可用于年龄、身高、体重、温度等)、日历选日期择器(可用于酒店及机票预定日期)、颜色选择器、文件及目录选择器、图片选择器等……WheelPicker/DatePicker/TimePicker/OptionPicker/NumberPicker/LinkagePicker/AddressPicker/CarPlatePicker/CalendarPicker/ColorPicker/FilePicker/ImagePicker etc.
Stars: ✭ 5,320 (+990.16%)
Mutual labels:  picker, imagepicker
Opalimagepicker
A multiple image picker for iOS, written in Swift
Stars: ✭ 165 (-66.19%)
Mutual labels:  picker, imagepicker
Imagepicker
Super Image Picker is a powerful image selector. Support for huge image preview (such as 10000 * 5000px), support for image cropping, configurable avatar mode and normal mode, support for a variety of image load library
Stars: ✭ 891 (+82.58%)
Mutual labels:  imagepicker, photo-gallery
WAProfileImage
WAProfileImage - A library for Android for choosing and editing profile image like WhatsApp
Stars: ✭ 29 (-94.06%)
Mutual labels:  whatsapp, imagepicker
Bottomsheet Imagepicker
Modern image picker for Android
Stars: ✭ 267 (-45.29%)
Mutual labels:  picker, imagepicker
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-94.88%)
Mutual labels:  picker, imagepicker
XGImagePickerController
iOS相册图片/视频选择器
Stars: ✭ 32 (-93.44%)
Mutual labels:  picker, imagepicker
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+650.2%)
Mutual labels:  picker, imagepicker
Zlphotobrowser
Wechat-like image picker. Support select normal photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;
Stars: ✭ 3,962 (+711.89%)
Mutual labels:  picker, imagepicker
Franz
Franz is a free messaging app for services like WhatsApp, Slack, Messenger and many more.
Stars: ✭ 4,088 (+737.7%)
Mutual labels:  whatsapp
Litepicker
Date range picker - lightweight, no dependencies
Stars: ✭ 442 (-9.43%)
Mutual labels:  picker
React Native Actions Sheet
A Cross Platform(Android & iOS) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
Stars: ✭ 412 (-15.57%)
Mutual labels:  picker
Resizer
An image resizing library for Android
Stars: ✭ 406 (-16.8%)
Mutual labels:  photo-gallery
Sppermissions
Ask permissions with ready-use interface. You can check status permission and if it has been requested before. Support SwiftUI.
Stars: ✭ 4,701 (+863.32%)
Mutual labels:  photo-gallery
Imagepicker
完全仿微信的图片选择,并且提供了多种图片加载接口,选择图片后可以旋转,可以裁剪成矩形或圆形,可以配置各种其他的参数
Stars: ✭ 4,225 (+765.78%)
Mutual labels:  imagepicker
Messenger Ios Chat Swift Firestore
Messenger Clone - Real-time iOS Chat with Firebase Firestore written in Swift
Stars: ✭ 405 (-17.01%)
Mutual labels:  whatsapp
Flutter wechat assets picker
An assets picker in WeChat style, support multi assets picking.
Stars: ✭ 398 (-18.44%)
Mutual labels:  picker

Preview image

Pix (WhatsApp Style Image and Video Picker)

Pix is a WhatsApp image picker replica. with this you can integrate a image picker just like WhatsApp.

Codacy Badge Pix Image Picker xscode

Upcoming

  1. Androidx Camera API integration
  2. Scoped storage to support Android Version 30
  3. Minimum SDK from 19 to 21

Demo

Usage

Options options = Options.init()
      .setRequestCode(100)                                           //Request code for activity results
      .setCount(3)                                                   //Number of images to restict selection count
      .setFrontfacing(false)                                         //Front Facing camera on start
      .setPreSelectedUrls(returnValue)                               //Pre selected Image Urls
      .setSpanCount(4)                                               //Span count for gallery min 1 & max 5
      .setMode(Options.Mode.All)                                     //Option to select only pictures or videos or both
      .setVideoDurationLimitinSeconds(30)                            //Duration for video recording
      .setScreenOrientation(Options.SCREEN_ORIENTATION_PORTRAIT)     //Orientaion
      .setPath("/pix/images");                                       //Custom Path For media Storage
    
Pix.start(MainActivity.this, options);

or just use with minimal config

Pix.start(context, Options.init().setRequestCode(100));

for fetching only a single picture.

Use onActivityResult method to get results

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (resultCode == Activity.RESULT_OK && requestCode == RequestCode) {
        ArrayList<String> returnValue = data.getStringArrayListExtra(Pix.IMAGE_RESULTS);
    }
}

Customise

Theme

include these items in colors.xml with custom color codes

<resources>
    <color name="colorPrimaryPix">#075e54</color>
    <color name="colorPrimaryLightPix">#80075e54</color>
</resources>

Permission Handling

include onRequestPermissionsResult method in your Activity/Fragment for permission selection

@Override
public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
    switch (requestCode) {
        case PermUtil.REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS: {
            // If request is cancelled, the result arrays are empty.
            if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
                Pix.start(context, Options.init().setRequestCode(100));
            } else {
                Toast.makeText(MainActivity.this, "Approve permissions to open Pix ImagePicker", Toast.LENGTH_LONG).show();
            }
            return;
        }
    }
}

Thanks to

Backers

Become a backer and help us sustain our activities! 🙏🙏

Download

Download or grab via Gradle:

include in app level build.gradle

repositories {
  maven { url 'https://jitpack.io' }
}
implementation  'com.fxn769:pix:1.5.6'

or Maven:

<dependency>
  <groupId>com.fxn769</groupId>
  <artifactId>pix</artifactId>
  <version>1.5.6</version>
  <type>pom</type>
</dependency>

or ivy:

<dependency org='com.fxn769' name='pix' rev='1.5.6'>
  <artifact name='pix' ext='pom' ></artifact>
</dependency>

Snapshots of the development version are available in [Sonatype's snapshots repository][snap].

Updates

Pix is using the new Material library with the legacy Support Library. You have to migrate to android.support to androidx in order to use com.google.android.material.

With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.

For more details kindly refer Migrating to AndroidX

for Version 1.2.5 refer here

License

Licensed under the Apache License, Version 2.0, click here for the full license.

Author & support

This project was created by Akshay Sharma.

If you appreciate my work, consider buying me a cup of ☕️ to keep me recharged 🤘 by PayPal

I love using my work and I'm available for contract work. Freelancing helps to maintain and keep my open source projects up to date!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].