Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/04/2012, 17:00
Avatar de zero_master
zero_master
 
Fecha de Ingreso: junio-2011
Ubicación: Leon, Gto
Mensajes: 290
Antigüedad: 12 años, 10 meses
Puntos: 74
Respuesta: Como unir dos imagenes!!!

Te diria la forma bruta de hacerlo pero nos facilitan las cosas algunas personas jejeje
Cita:
Bitmap drawingBitmap = Bitmap.createBitmap(bmp1.getWidth(),bmp1.getHeight (), bmp1.getConfig());
canvas = new Canvas(drawingBitmap);
paint = new Paint();
canvas.drawBitmap(bmp1, 0, 0, paint);
paint.setXfermode(new PorterDuffXfermode(android.graphics.PorterDuff.Mod e.MULTIPLY));
canvas.drawBitmap(bmp2, 0, 0, paint);
compositeImageView.setImageBitmap(drawingBitmap);
Donde bmp1 y bmp2 son tus imagenes a juntar y deben de ser de la misma medida; y puedes jugar con sus porcentajes buscando un poco mas con el "android.graphics.PorterDuff.Mode"