go-print-file

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 6 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL