tuxify

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 5 Imported by: 0

README

tuxify

Tuxify your jpeg and png images as a service!

curl -s -F 'img=@input.png' -o tuxified.png https://tuxify.art

Or install locally...

go install jdtw.dev/tuxify/cmd/tuxify@latest
tuxify --in input.png --out tuxified.png

tux

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tuxify

func Tuxify(key []byte, src image.Image) (image.Image, []byte, error)

Tuxify ecb-encrypts the given image. If key is null, a key will be randomly generated. Alpha values are ignored in the source image. Returns the encrypted image and encryption key.

Types

This section is empty.

Directories

Path Synopsis
cmd
tuxify-server
Usage: $ curl -s -F 'img=@foo.png' \ -F 'key=00000000000000000000000000000000' \ -o out.png \ http://localhost:8080 The 'key' form value is optional.
Usage: $ curl -s -F 'img=@foo.png' \ -F 'key=00000000000000000000000000000000' \ -o out.png \ http://localhost:8080 The 'key' form value is optional.

Jump to

Keyboard shortcuts

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