Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackbeam/tiff-multipage
https://github.com/blackbeam/tiff-multipage
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/blackbeam/tiff-multipage
- Owner: blackbeam
- License: mit
- Created: 2011-10-03T07:22:54.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T07:59:29.000Z (almost 3 years ago)
- Last Synced: 2024-11-20T21:07:08.132Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## tiff-multipage
Tool to merge multiple TIFF files into one.### Requirements:
1. libtiff (tested on v4).### Installation:
```bash
npm install tiff-multipage
```### Usage example:
```javascript
let mp = require('tiff-multipage');let output_path = './output/OUT.TIFF';
let input_paths = ['./input/INPUT1.TIFF',
'./input/INPUT2.TIFF',
'./input/INPUT3.TIFF'];// Async version
mp.JoinAsync(output_path, input_paths, function (err) {
if (err) console.log(err);
});// Sync version
try {
mp.joinSync(output_path, input_paths);
} catch (err) {
console.error(err);
}
```