1.2.2 • Published 2 years ago

nftgon v1.2.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

Turn any 1:1 sized avatar into an NFT!
Example

Installation

  1. Install nodejs
  2. Install NFTgon
    • Global (Required for CLI)
      npm install -g nftgon
    • Locally
      npm install nftgon

Usage

CLI

Currently all images output to .png ONLY, I will add jpeg support later

Usage: nftgon [OPTIONS] input [input...]
-o, --output PATH

Specify output path

-O --options {\"key\": value}

Comma separated list of options
Refer to this for a list of all options

Example:
nftgon -o ./hexagoned.png -O {\"compressionLevel\": 5 } https://picsum.photos/400/400 ./test.jpg

Node.js

const { NFTGon } = require("nftgon");


const imgIn = "https://picsum.photos/400/400";

const imgOut = NFTGon.nftify(imgIn);
const png = imgOut.createPNGStream({compressionLevel: 6});
1.2.2

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago