Create Samila Art From Files
sadrasabouri opened this issue · 1 comments
sadrasabouri commented
Description
We may come up with a solid behavior toward all file types to make Samila art from them. This issue tracker will be a place to discuss about:
- How we can come up with that general solution?
Steps/Code to Reproduce
It may sound like this:
>>> g = Samila(path2file)
Expected Behavior
It will decode the file content into two functions (known as f1
and f2
) and give construct a GenerativeImage
instance then return it back.
Samila Version (Use : samila.__version__
)
0.1
sadrasabouri commented
As we discussed a proper approach is to use the sha-256
hash code of the file as our random
mode's random seed value.