Skip to content

ajay09/binmage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

binmage

The above python code helps you convert a binary file to a coloured representation. Each byte is read and converted to pixel using a colour map. Colour representaitons of files can be helpful in analyzing the binary file.

alt text

Dependencies

pip install pillow
pip install numpy

Description

import binmage
from PIL import Image
img = binmage.fileToImage(path_to_binary_file)
img.save('output_file_name.png')

About

Image representation of a binary file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages