I'm currently struggling around with a huge problem.
I get a bitmap via network (TCP Sockets) using BitmapFactory.decodeStream. After receiving it, I create a new bitmap and do a reflection of the original image (with half the size and going to transparent).
What I want to do:
The main thing is already done: Programmatically doing the reflection works very nice and looks good, but it doesn't look like the image would stand on a surface. Now I thought it would look better, if I stretch the bottom of the reflection a little bit. That would look like the reflection "comes nearer" and it would look like I want it to.
Let me show you what I mean:
What is the best way to do this? Does it work using a matrix?
I mainly used the code at here: http://www.inter-fuser.com/2009/12/android-reflections-with-bitmaps.html for the reflection.
Thanks in advice.