# imagemagick-browser

> Abstractions on top of WASM-ImageMagick to easy usage

Latest version **0.0.3** (published 2018-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install imagemagick-browser
pnpm add imagemagick-browser
yarn add imagemagick-browser
bun add imagemagick-browser
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-11-15 |
| First published | 2018-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 608.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sebastian Gurin |
| Maintainers | cancerberosgx |
| Keywords | imagemagick, browser, typescript, images, image processing |

## Links

- npm: https://www.npmjs.com/package/imagemagick-browser
- npm.io page: https://npm.io/package/imagemagick-browser

## Dependencies (3)

- [p-map](https://npm.io/package/p-map.md) ^1.0.0
- [jasmine](https://npm.io/package/jasmine.md) ^3.2.0
- [wasm-imagemagick](https://npm.io/package/wasm-imagemagick.md) ^1.1.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2018-11-15
- 0.0.2 — 2018-10-09
- 0.0.1 — 2018-09-26

## README

Abstractions and types fof WASM-ImageMagick so it's easy to use.

**WIP**

## Chain: easy API

There is WIP for an easy programatic API to build up IM commands. Right now just a POC but the idea is to make it grow. Objectives : 

 * IM commands described with interfaces so is easy to get started with them
 * chained API to build and execute a command in one statement.

Example:

```js
import {convert } from 'imagemagick-browser'
// execute in one statement
const result = await convert('img1.png').rotate(33).image('output.png').execute()

// just build a command that can be then `execute()`
const command = convert(['img1.png', 'img2.png']).image('output2.gif').toCommand()
```

# TODO
 * execute() to work with array of commands - right now just executing the first one - make all output images available to subsequent commands
 * require() and run from node.js

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