Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/04/2012, 21:55
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 2 meses
Puntos: 15
Respuesta: Como unir dos imagenes!!!

Muchas gracias por tu ayuda, funciona muy bien , igual también encontré la forma "manual".

Código Javascript:
Ver original
  1. //      for(int x = 0; x < count ;++x )
  2. //      {  
  3. //         
  4. //          pix = scrPxs[x];
  5. //          pix2 = scrPxs2[x];
  6. //         
  7. //          r1 = Color.red(pix);
  8. //          r2 = Color.red(pix2);
  9. //
  10. //          g1 = Color.green(pix);
  11. //          g2 = Color.green(pix2);
  12. //         
  13. //          b1 = Color.blue(pix);
  14. //          b2 = Color.blue(pix2);
  15. //         
  16. //          rSum = ( r1  < r2)   ? r1 : (r2   + r1)/2 ;
  17. //          gSum = (g1 < g2) ? g1: (g2 + g1)/2 ;
  18. //          bSum = (b1  < b2)  ? b1 : (b2  + b1)/2;
  19. //          rtPxs[x] = Color.argb(255,rSum,gSum,bSum);
  20. //      }