Install J.  Start J. Copy and paste code into a jqt new temp.  Run code.

 

load 'viewmat'

GRB256=:1 0 2({"1) 256 256 256#:i.256^3

Q=:?(1000 1000)$ 16777216x

GRB256 viewmat Q;'Q'

1000*1000*256x^3

 

Here's the result in the terminal:

 

load 'viewmat'

GRB256=:1 0 2({"1) 256 256 256#:i.256^3

Q=:?(1000 1000)$ 16777216x

GRB256 viewmat Q;'Q'

1000*1000*256x^3

16777216000000

 

The image has 1 million squares.  Each square is chosen from a palette with
almost 17 million colors so this should be likely to match another such
images with chances of 1 to 17 trillion.

 

 

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to