RoundImage

Additional

Language
Java
Version
N/A
Created
Dec 5, 2014
Updated
Dec 6, 2014 (Retired)
Owner
Paresh Patil (Pareshoct7)
Contributor
Paresh Patil (Pareshoct7)
1
Activity
Badge
Generate
Download
Source code

Advertisement

RoundImage

This library is used for converting Bitmap or Drawable images to Round or Circular Shape.

How to use?

/* Simplay pass Bitmap in RoundImage.getRoundBitmap() and it will return Roundhape Bitmap */
Bitmap bitmap = RoundImage.getRoundBitmap("<Paas Here Your Images Bitmap>");
imageview2.setImageBitmap(bitmap);

/* Simplay pass Drawable in RoundImage.getRoundDrawable() and it will return Roundhape Drawable */
Drawable drawable = RoundImage.getRoundDrawable("<Paas Here Your Images Drawble>");
imageview1.setImageDrawable(drawable);

Where to use ?

Use anywhere in your project to give a circular or round shapes to youe image.

Output