blim

Blazing fast image optimisation for blog post images

Usage no npm install needed!

<script type="module">
  import blim from 'https://cdn.skypack.dev/blim';
</script>

README

blim

Blazing fast image optimization for blog post images.

Usage

$ npm install -g blim
$ blim COMMAND
running command...
$ blim (-v|--version|version)
blim/0.0.2 darwin-x64 node-v10.17.0
$ blim --help [COMMAND]
USAGE
  $ blim COMMAND
...

Commands

blim help [COMMAND]

display help for blim

USAGE
  $ blim help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

blim optimize [FILE]

Optimize an image

USAGE
  $ blim optimize [FILE]

OPTIONS
  -f, --fit=cover|contain|fill|inside|outside
      How to fit the width and height

  -h, --height=height
      The target height to resize to

  -p, --position=top|right top|right|right bottom|bottom|left bottom|left|left 
  top|north|northeast|east|southeast|south|southwest|west|northwest|center|entropy|attention
      When using a fit of cover or contain, use this flag to adjust where to crop

  -w, --width=width
      The target width to resize to