# imgc

> An image converter for OS X systems.

Latest version **2.0.1** (published 2015-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install imgc
pnpm add imgc
yarn add imgc
bun add imgc
```

Provides the command `imgc`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2015-10-07 |
| First published | 2015-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Andreas Gillström |
| Maintainers | gillstrom |
| Keywords | CR2, cli, cli-app, convert, converter, image, img, jpg, mac, os x, osx, png, raw, sips |

## Links

- npm: https://www.npmjs.com/package/imgc
- Repository: https://github.com/gillstrom/imgc
- Homepage: https://github.com/gillstrom/imgc#readme
- Issues: https://github.com/gillstrom/imgc/issues
- npm.io page: https://npm.io/package/imgc

## Dependencies (4)

- [meow](https://npm.io/package/meow.md) ^3.3.0
- [pify](https://npm.io/package/pify.md) ^2.2.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^1.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2015-10-07
- 2.0.0 — 2015-10-07
- 1.0.3 — 2015-07-19
- 1.0.2 — 2015-07-18
- 1.0.1 — 2015-07-18
- 1.0.0 — 2015-07-18
- 0.0.0 — 2015-07-17

## README

# imgc

> An image converter for OS X systems.


## Install

```
$ npm install --save imgc
```


## Usage

```js
var imgc = require('imgc');

imgc('*.CR2 *.png', 'dest', {format: 'jpeg', quality: 'medium'}, function (err) {
	console.log('Images converted');
});
```


## CLI

```
$ npm install --global imgc
```

```
$ imgc --help

	Usage
	  $ imgc <files> --format <format>
	  $ imgc <files> --format <format> --quality <quality>
	  $ imgc <files> --format <format> --out <directory>

	Example
	  $ imgc *.CR2 --format jpeg --quality high
	  $ imgc *.jpg *.png --format tiff --out ./output/tiff

	Options
	  -f, --format <format>      File format of converted files
	  -o, --out <directory>      Where to place the files
	  -s, --quality <quality>    Quality of converted files

	Formats
	  jpeg | tiff | png | gif | jp2 | pict | bmp | qtif | psd | sgi | tga

	Qualities
	  low | normal | high | best | <percent>
```


## API

### imgc(input, dest, options)

Returns a promise that resolves when images are converted.

#### input

*Required*  
Type: `string`

String of file paths to images.

#### dest

*Required*  
Type: `string`

Destination folder for converted images.

#### options

*Required*  
Type: `object`

##### options.format

*Required*  
Type: `string`

Set the format to convert to, e.g. `jpeg`.

##### options.quality
 
Type: `string`

Set the quality of converted images, e.g. `best`.


## License

MIT © [Andreas Gillström](http://github.com/gillstrom)

---
_Source: https://npm.io/package/imgc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
