All Projects → jdamcd → Android Crop

jdamcd / Android Crop

Android library project for cropping images

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Crop

Sphero.js
🚫 DEPRECATED: The Sphero JavaScript SDK to control Sphero robots.
Stars: ✭ 346 (-92.35%)
Mutual labels:  deprecated
Code Gov Web
DEPRECATED 🛑- Federal Source Code policy implementation.
Stars: ✭ 423 (-90.64%)
Mutual labels:  deprecated
Django Knowledge
Add a help desk or knowledge base to your Django project with only a few lines of boilerplate code.
Stars: ✭ 473 (-89.54%)
Mutual labels:  deprecated
Phalanger
PHP 5.4 compiler for .NET/Mono frameworks. Predecessor to the opensource PeachPie project (www.peachpie.io).
Stars: ✭ 369 (-91.84%)
Mutual labels:  deprecated
Piranha
[DEPRECATED] This is the legacy version of Piranha CMS for .NET 4.5, MVC 5.2 & WebPages 3.2.
Stars: ✭ 418 (-90.75%)
Mutual labels:  deprecated
Json Loader
json loader module for webpack - UNMAINTAINED
Stars: ✭ 431 (-90.47%)
Mutual labels:  deprecated
H5ive Deprecated
**DEPRECATED** A collection of thin facade APIs wrapped around HTML5 JavaScript features.
Stars: ✭ 332 (-92.66%)
Mutual labels:  deprecated
Pygeoip
DEPRECATED: Pure Python API for Maxmind's binary GeoIP databases
Stars: ✭ 483 (-89.32%)
Mutual labels:  deprecated
Axe Cli
[Deprecated] A command-line interface for the aXe accessibility testing engine
Stars: ✭ 419 (-90.73%)
Mutual labels:  deprecated
Enhancedlistview
[DEPRECATED] An Android ListView with enhanced functionality (e.g. Swipe To Dismiss or Undo)
Stars: ✭ 468 (-89.65%)
Mutual labels:  deprecated
Msx
JSX for Mithril.js 0.x
Stars: ✭ 370 (-91.82%)
Mutual labels:  deprecated
Govuk frontend toolkit
❗️GOV.UK Frontend Toolkit is deprecated, and will only receive major bug fixes and security patches.
Stars: ✭ 403 (-91.09%)
Mutual labels:  deprecated
Tinx
⛔️ Laravel Tinx is archived and no longer maintained.
Stars: ✭ 437 (-90.33%)
Mutual labels:  deprecated
React Heatpack
A 'heatpack' command for quick React development with webpack hot reloading
Stars: ✭ 354 (-92.17%)
Mutual labels:  deprecated
Swiftocr
Fast and simple OCR library written in Swift
Stars: ✭ 4,459 (-1.37%)
Mutual labels:  deprecated
Wpaint
jQuery Paint Plugin
Stars: ✭ 332 (-92.66%)
Mutual labels:  deprecated
Vue Mdc Adapter
DEPRECATED
Stars: ✭ 425 (-90.6%)
Mutual labels:  deprecated
Aawindow
[Deprecated] · UIWindow subclass to enable behavior like adaptive round-corners & detecting when Control Center is opened.
Stars: ✭ 486 (-89.25%)
Mutual labels:  deprecated
Gulp Ruby Sass
Compile Sass to CSS with Ruby Sass
Stars: ✭ 476 (-89.47%)
Mutual labels:  deprecated
Refined Twitter Old
[DEPRECATED] Chrome extension that enforces the mobile web version of Twitter and improves its interface
Stars: ✭ 442 (-90.22%)
Mutual labels:  deprecated

I guess people are just cropping out all the sadness

An Android library project that provides a simple image cropping Activity, based on code from AOSP.

Deprecated! This project is not maintained. If it doesn't meet your needs as is, consider creating a fork or picking from these alternatives.

maven central changelog

Features

  • Gradle build & AAR
  • Modern UI
  • Backwards compatible to SDK 10
  • Simple builder for configuration
  • Example project

Usage

First, declare CropImageActivity in your manifest file:

<activity android:name="com.soundcloud.android.crop.CropImageActivity" />

Crop

Crop.of(inputUri, outputUri).asSquare().start(activity)

Listen for the result of the crop (see example project if you want to do some error handling):

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent result) {
    if (requestCode == Crop.REQUEST_CROP && resultCode == RESULT_OK) {
        doSomethingWithCroppedImage(outputUri);
    }
}

Some attributes are provided to customise the crop screen. See the example project theme.

Pick

The library provides a utility method to start an image picker:

Crop.pickImage(activity)

Dependency

The AAR is published on Maven Central:

compile 'com.soundcloud.android:android-crop:1.0.1@aar'

How does it look?

android-crop screenshot

License

This project is based on the AOSP camera image cropper via android-cropimage.

Copyright 2016 SoundCloud

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].