cm2img

package module
v0.0.0-...-4b3e8f4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 8 Imported by: 0

README

cm2img

Image creator for Circuit Maker2 written in Go.

Usage

Run: go run . -m $MODE -i $FILENAME

It will output to the terminal To save to file:

go run . -m $MODE -i $FILENAME > output

If you are feeling cool and want to have small, high quality images, use the fine mode.

go run . -m fine -i $FILENAME

Or if you are feeling classy, use the normal mode to make each pixel one full block

go run . -m normal -i $FILENAME

NOTE: Only supports jpeg's and png's

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(mode string, img image.Image) (string, error)

func GetImage

func GetImage(img *os.File) (image.Image, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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