# jpegtran-bin-tilden

> jpegtran (part of libjpeg-turbo) bin-wrapper that makes it seamlessly available as a local dependency

Latest version **5.0.2** (published 2021-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install jpegtran-bin-tilden
pnpm add jpegtran-bin-tilden
yarn add jpegtran-bin-tilden
bun add jpegtran-bin-tilden
```

Provides the command `jpegtran`.

## 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 | 5.0.2 |
| Published | 2021-05-24 |
| First published | 2021-05-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 95 |
| Author | Sindre Sorhus |
| Maintainers | tildenj |
| Keywords | imagemin, compress, image, img, jpeg, jpg, minify, optimize, jpegtran |

## Links

- npm: https://www.npmjs.com/package/jpegtran-bin-tilden
- Repository: https://github.com/imagemin/jpegtran-bin
- Homepage: https://github.com/imagemin/jpegtran-bin#readme
- Issues: https://github.com/imagemin/jpegtran-bin/issues
- npm.io page: https://npm.io/package/jpegtran-bin-tilden

## Dependencies (3)

- [logalot](https://npm.io/package/logalot.md) ^2.0.0
- [bin-build](https://npm.io/package/bin-build.md) ^3.0.0
- [bin-wrapper](https://npm.io/package/bin-wrapper.md) ^4.0.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 5.0.2 (latest) — 2021-05-24

## README

# jpegtran-bin ![GitHub Actions Status](https://github.com/imagemin/jpegtran-bin/workflows/test/badge.svg?branch=master)

> [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/) is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems. On such systems, libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.

You probably want [`imagemin-jpegtran`](https://github.com/imagemin/imagemin-jpegtran) instead.


## Install

```
$ npm install --save jpegtran-bin
```


## Usage

```js
const {execFile} = require('child_process');
const jpegtran = require('jpegtran-bin');

execFile(jpegtran, ['-outfile', 'output.jpg', 'input.jpg'], error => {
	console.log('Image minified!');
});
```


## CLI

```
$ npm install --global jpegtran-bin
```

```
$ jpegtran --help
```


## License

MIT © [Imagemin](https://github.com/imagemin)

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