Legofy
Introduction: Android library to Legofy any image
Tags:
Android library to Legofy any image.
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