Skip to content

devnied/AndroidBitmapTransform

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AndroidBitmapTransform Build Status Android Arsenal

AndroidBitmapTransform is an useful library to do Bitmap transformation on Android.
Maven Central

##Simple API

It is very easy to get started with AndroidBitmapTransform:

Exemple to Multiply two bitmaps

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

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

Maven

<dependency>
  <groupId>com.github.devnied.AndroidBitmapTransform</groupId>
  <artifactId>library</artifactId>
  <version>1.0.0</version>
</dependency>

Bugs

Please report bugs and feature requests to the GitHub issue tracker.
Forks and Pull Requests are also welcome.

Author

Millau Julien

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

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.

About

AndroidBitmapTransform is an useful library to do Bitmap transformation on Android.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages