Skip to content

ibice/go-print-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-print-file

A command-line utility that prints files as PNG images. Initially thought to print itself (i.e, print the executable program file).

Example of an image generated:

generated image

Building

To build (make and Go +1.17 required):

make build

Usage

Usage of go-print-file:

Usage of go-print-file:
  -grow-h int
    	grow heigth in pixels
  -grow-w int
    	grow width in pixels
  -h int
    	heigth in pixels
  -h-ratio int
    	heigth ratio (default 1)
  -i string
    	input file, the executable itself by default
  -o string
    	output file
  -s int
    	skip leading bytes
  -w int
    	width in pixels
  -w-ratio int
    	width ratio (default 1)

About

Command-line tool to visualize files as images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published