Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Bitmap Reflection with "standing on surface" effect

Bitmap Reflection with "standing on surface" effect

All your problems with Audio, Video and Images.

Bitmap Reflection with "standing on surface" effect

Postby nithdi » Thu Dec 23, 2010 6:16 pm

Hi,

I'm currently struggling around with a huge problem.

The Situation:
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:
Image


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.

Greets
nithdi
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Dec 23, 2010 6:01 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests