tiff-multipage

0.2.0 • Public • Published

tiff-multipage

Tool to merge multiple TIFF files into one.

Requirements:

  1. libtiff (tested on v4).

Installation:

npm install tiff-multipage

Usage example:

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);
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tiff-multipage

    Weekly Downloads

    9

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    20.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • blackbeam