Legofy
Legofy copied to clipboard
Android library to Legofy any image
Legofy
![Release](https://jitpack.io/v/JeroenMols/Legofy.svg)
Android library to Legofy any image.
![Get it on Google Play](https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png)
See the application in action:
Features
- Convert any Bitmap into a legofied version
- Upscale low resolution bitmaps
- Limit output size to 1080px to avoid out of memory exceptions
How to use
- Add the Jitpack repository to your project:
repositories {
maven { url "https://jitpack.io" }
}
- Add a dependency on the library:
compile 'com.github.JeroenMols:Legofy:0.0.1-beta'
- Legofy a Bitmap
Bitmap legofiedBitmap = Legofy.with(this).convert(bitmap);
Bitmap legofiedBitmap = Legofy.with(this).amountOfBricks(40).convert(bitmap);
Next steps
- Drawable/ImageView with a dissolve effect
- Support for Picasso
- Synchronous/Asynchronous API
- Specify image size
- High resolution options
- Library that applies a Lego effect to an existing bitmap (first draft done)
Questions
Credits
- Based on Legofy by Juan Potato
- Mona Lisa - Leonard Da Vinchi
- Son of a man - Rene Magritte
- Android Developers logo - Google