# sublime-rainmeter-image-smoother

> This creates the smoothed image for sublime-rainmeter documentation

Latest version **1.4.0** (published 2017-01-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install sublime-rainmeter-image-smoother
pnpm add sublime-rainmeter-image-smoother
yarn add sublime-rainmeter-image-smoother
bun add sublime-rainmeter-image-smoother
```

Provides the command `sublime-rainmeter-image-smoother`.

## 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 | 1.4.0 |
| Published | 2017-01-23 |
| First published | 2017-01-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | thatsIch |
| Maintainers | thatsich |

## Links

- npm: https://www.npmjs.com/package/sublime-rainmeter-image-smoother
- Repository: https://github.com/thatsIch/sublime-rainmeter-image-smoother
- Homepage: https://github.com/thatsIch/sublime-rainmeter-image-smoother#readme
- Issues: https://github.com/thatsIch/sublime-rainmeter-image-smoother/issues
- npm.io page: https://npm.io/package/sublime-rainmeter-image-smoother

## Dependencies (1)

- [shelljs](https://npm.io/package/shelljs.md) ^0.7.6

## Recent versions

- 1.4.0 (latest) — 2017-01-23
- 1.2.0 — 2017-01-23

## README

[![Build status](https://ci.appveyor.com/api/projects/status/mmsc7ltsi4dq3cw2/branch/master?svg=true)](https://ci.appveyor.com/project/thatsIch/sublime-rainmeter-image-smoother/branch/master)

About
=====
This is a simple tool which uses [OpenCV](http://opencv.org/) through its Java Binding [JavaCV](https://github.com/bytedeco/javacv) to generate a smoothed shadow on each image.

If you would pass this program an input image like

![Input Image](https://cloud.githubusercontent.com/assets/2210496/20466360/477b74a0-af72-11e6-8279-fcd6fb8999f2.png)

this would output

![Output Image](https://cloud.githubusercontent.com/assets/2210496/20466368/5e35aff8-af72-11e6-8d7b-93b3184efd43.png)

The ground truth image (how it is supposed to look like) was given by [@merlinthered](https://github.com/merlinthered)

![Ground Truth](https://cloud.githubusercontent.com/assets/2210496/20466364/559b668a-af72-11e6-8dfc-dbd7e03d5825.png)

Building
========
    mvnw clean install

(This will install a Maven wrapper which requires you not to download and install Maven yourself)

Running
=======
Note: this can only be run on windows because I found no good JNI Binding for https://pngquant.org/lib/. You have to compile it yourself and I would need to cross-compile it myself.

    java -jar target/sublime-rainmeter-image-smoother-1.4.jar "path/to/input.png" "path/to/input2.png"
        
results into two files in the same directories as `input` and `input2` with the postfix `-shaded` and compressed images with postfix `-or8`.

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