This ruby script can take an image and create a hexadecimal representation of it.
- ImageMagick
- brew install imagemagick --disable-openmp --build-from-source
- Rmagick Gem
- Ruby Progress Bar Gem
- gem install 'ruby-progressbar'
ruby convert_to_hex.rb <PATH_TO_INPUT_IMAGE> <PATH_TO_WRITE_PUT_IMAGE> <SCALE (0.0..1.0)>
- The images get very large, very fast. Recommended scale is 0.2