Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devnied/androidbitmaptransform
AndroidBitmapTransform is an useful library to do Bitmap transformation on Android.
https://github.com/devnied/androidbitmaptransform
android bitmaps library
Last synced: 11 days ago
JSON representation
AndroidBitmapTransform is an useful library to do Bitmap transformation on Android.
- Host: GitHub
- URL: https://github.com/devnied/androidbitmaptransform
- Owner: devnied
- License: apache-2.0
- Created: 2013-05-07T20:29:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T14:15:14.000Z (almost 6 years ago)
- Last Synced: 2024-10-16T04:10:18.906Z (23 days ago)
- Topics: android, bitmaps, library
- Language: Java
- Homepage: https://github.com/devnied/AndroidBitmapTransform
- Size: 270 KB
- Stars: 47
- Watchers: 9
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AndroidBitmapTransform [![Build Status](https://travis-ci.org/devnied/AndroidBitmapTransform.png?branch=master)](https://travis-ci.org/devnied/AndroidBitmapTransform) [![Android Arsenal](http://img.shields.io/badge/Android%20Arsenal-Android--BitmapTransform-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/3504)
======================AndroidBitmapTransform is an useful library to do Bitmap transformation on Android.
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.devnied.AndroidBitmapTransform/library/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.github.devnied.AndroidBitmapTransform/library)##Simple API
It is very easy to get started with AndroidBitmapTransform:
**Exemple to Multiply two bitmaps**
```java
ImageView view = (ImageView) findViewById(R.id.bitmapResult);
Bitmap bitmap = BitmapTransform.createBitmap(this,R.drawable.dst, R.drawable.src, PorterDuff.Mode.MULTIPLY, true, false);
view.setImageBitmap(bitmap);
```**Exemple to Add two bitmaps**
```java
ImageView view = (ImageView) findViewById(R.id.bitmapResult);
Bitmap bitmap = BitmapTransform.createBitmap(this,R.drawable.dst, R.drawable.src, PorterDuff.Mode.ADD, true, false);
view.setImageBitmap(bitmap);
```**List of PorterDuff modes**
![](https://raw.github.com/devnied/AndroidBitmapTransform/master/%20Xfermodes.png)
## Maven
```xml
com.github.devnied.AndroidBitmapTransform
library
1.0.0```
## Bugs
Please report bugs and feature requests to the GitHub issue tracker.
Forks and Pull Requests are also welcome.## Author
**Millau Julien**
+ [http://twitter.com/devnied](http://twitter.com/devnied)
+ [http://github.com/devnied](http://github.com/devnied)## Copyright and license
Copyright 2013 Millau Julien.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or at:[http://www.apache.org/licenses/LICENSE-2.0](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.