0.0.7 • Published 6 years ago

gimg v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

gimg

Generate images of a specific size.

npm

Installation

Compiling

If you don't have a supported OS or processor architecture, or you use --build-from-source, the module will be compiled on your system. Unless previously installed you'll need Cairo and Pango. For system-specific installation view the Wiki.

You can quickly install the dependencies by using the command for your OS:

OSCommand
OS XUsing Homebrew:brew install pkg-config cairo pango libpng jpeg giflibUsing MacPorts:port install pkgconfig cairo pango libpng jpeg giflib libsrvg
Ubuntusudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++
Fedorasudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
Solarispkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
OpenBSDdoas pkg_add cairo pango png jpeg giflib
WindowsInstructions on our wiki

Mac OS X v10.11+: If you have recently updated to Mac OS X v10.11+ and are experiencing trouble when compiling, run the following command: xcode-select --install. Read more about the problem on Stack Overflow.

Install

npm install gimg -g

Usage

Usage: gimg [options] [command]

Options:

  -V, --version            output the version number
  -h, --help               output usage information

Commands:

  create [options] <name>  Generate image
  help                     Print this help

Example

gimg create name -s 500x500 -t image -f jpg

Thanks

node-canvas

License

MIT

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago