# node-deps-freeimage-raub

> Binaries and headers for FreeImage-dependent compilation

Latest version **0.0.3** (published 2018-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-deps-freeimage-raub
pnpm add node-deps-freeimage-raub
yarn add node-deps-freeimage-raub
bun add node-deps-freeimage-raub
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-01-22 |
| First published | 2018-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Luis Blanco |
| Maintainers | raub |
| Keywords | graphics, binaries, deps, dependency, addon, compile, lib, dll, so, windows, mac, linux |

## Links

- npm: https://www.npmjs.com/package/node-deps-freeimage-raub
- Repository: https://github.com/raub/node-deps-freeimage
- Homepage: https://github.com/raub/node-deps-freeimage#readme
- Issues: https://github.com/raub/node-deps-freeimage/issues
- npm.io page: https://npm.io/package/node-deps-freeimage-raub

## Dependencies (1)

- [node-addon-tools-raub](https://npm.io/package/node-addon-tools-raub.md) 0.1.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2018-01-22
- 0.0.2 — 2018-01-21
- 0.0.1 — 2018-01-18

## README

# node-deps-freeimage


* Platforms: win x32/x64, linux x32/x64, mac x64.
* Library: FreeImage.
* Linking: static dll-type.


## Install

`npm i -s node-deps-freeimage-raub`


## Legal notice

This software uses the [FreeImage open source image library](http://freeimage.sourceforge.net).
FreeImage is legally used under the FIPL (FreeImage Public License) version.
It is explicitly stated that FreeImage can be used commercially under FIPL.

FreeImage licensing information (a COPY) is given in a [separate file](/FREEIMAGE_FIPL),
which also can be found on
[FreeImage's official web-site](http://freeimage.sourceforge.net/license.html).
The rest of this package is MIT licensed.

Windows binaries were found on the official web-site.
Unix binaries are found through
[Debian Packages](https://packages.debian.org/search?searchon=sourcenames&keywords=freeimage)
and [MacOS Formulae](http://formulae.brew.sh/formula/freeimage).


## Usage

### binding.gyp

```javascript
	'variables': {
		'freeimage_include' : '<!(node -e "console.log(require(\'node-deps-freeimage-raub\').include)")',
		'freeimage_bin'     : '<!(node -e "console.log(require(\'node-deps-freeimage-raub\').bin)")',
	},
	...
	'targets': [
		{
			'target_name': '...',
			
			'include_dirs': [
				'<(freeimage_include)',
				...
			],
			
			'library_dirs': [ '<(freeimage_bin)' ],
			
			'conditions': [
				
				['OS=="linux"', {
					'libraries': [
						'-Wl,-rpath,<(freeimage_bin)',
						'<(freeimage_bin)/freeimage.so',
						...
					],
				}],
				
				['OS=="mac"', {
					'libraries': [
						'-Wl,-rpath,<(freeimage_bin)',
						'<(freeimage_bin)/freeimage.dylib',
						...
					],
				}],
				
				['OS=="win"', {
					'libraries': [ 'FreeImage.lib', ... ],
				}],
				
			],
		},
```


### addon.cpp

```cpp
#include <FreeImage.h>
```

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