Here my cents,Instead of  combining the three images to get the color of
the final image,You can use RGB values to generate the random image on
the fly.

r=random.choice(range(256))
g=random.choice(range(256))
b=random.choice(range(256))

I don't know what you are trying to achieve(no knowledge on
Cryptography)..

I heard that in the "Art of Computer Programming" Donald Knuth described
an algorithm to 
generate  random numbers to be sufficently random enough.
Pls take a look into that .


Regards,
~ Srini T

-----Original Message-----
From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft....@python.org
[mailto:bangpypers-bounces+srinivas_thatiparthy=akebonosoft....@python.o
rg] On Behalf Of karthick perumal
Sent: Monday, February 15, 2010 11:54 AM
To: bangpypers@python.org
Subject: [BangPypers] combine R,G,B channel

hi i am doing project named visual cryptography,in this project i have a
module to combine R,G,B channel together,so i have a three image file
called red.png,green.png,blue.png,so how to combine those file to get
the final color image,please suggest me some python code or other open
source tools to implement this module,
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to