pvlbzn / ftoi

File to image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ftoi: File to Image

A little tool which can render any file as an image. Particularly useful for reverse engineering.

Examples

Two (one, two) the same images by content, but different by compression method: jpg and png accordingly.

$ ftoi samples/img.jpg
...
$ ftoi samples/img.png
...

Will produce out.png file for each call.

Result for jpg and png. So, despite that the content is visually the same, the actual bytes are not the same at all.

For example we can zoom into headers:

JPG:

JPG header

PNG:

PNG header

Install

$ go install https://github.com/pvlbzn/ftoi

About

File to image


Languages

Language:Go 100.0%