Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Very Large Hex Combinations

by abell (Chaplain)
on Aug 04, 2005 at 15:54 UTC ( #480892=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Very Large Hex Combinations
in thread Very Large Hex Combinations

Its a crazy idea but what I am trying to do is create every combination possible of a 640x480 bitmap file.
After that you could also generate all possible novels up to 500 pages, so I will finally get rid of the monkeys in my basement ;-)

Seriously, the number of all possible images is *real* huge, and even if you managed to save them somewhere, indexing them would be as difficult as generating them. In order to retrieve a specific image, you would somehow be able to indicate "I want the image whose first pixel is 0xa, whose second pixel is 0x0 ..." and so on with all the pixels. It is more reasonable to just generate it on the fly (and it allows you to save a few gazillion bytes).

Cheers

Antonio



The stupider the astronaut, the easier it is to win the trip to Vega - A. Tucket


Comment on Re^5: Very Large Hex Combinations

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480892]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2014-12-17 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (31 votes), past polls