Skip to content

More Generation Options for Image

Latest
Compare
Choose a tag to compare
@wqyeo wqyeo released this 12 Jun 15:39
· 1 commit to main since this release

More options for encoding generation patterns for image:

  • Support Linear (was default since first release)
  • Support Fibonacci (new)
  • Support deterministic random (new)

Additionally, clear up confusion. Where 7 is supposed to be Least Significant Bit, and 0 is the Most Significant Bit.

Fibonacci

Encode on pixels on every Fibonacci sequence. If hit max bound, will loop back around to the start, and encode on every Fibonacci sequence again, but going to the next unoccupied byte.

Random

Generates a deterministic random number generator using the ending payload as the seed (seed is generated using MD5 hashing on string).

Will randomly generate a number, which determines the pixel to encode in for the next step. If the pixel is already encoded, will use the next free pixel.