samila icon indicating copy to clipboard operation
samila copied to clipboard

Create Samila Art From Files

Open sadrasabouri opened this issue 2 years ago • 1 comments

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 avatar Sep 30 '21 07:09 sadrasabouri

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.

sadrasabouri avatar Apr 18 '22 13:04 sadrasabouri