2
var ConvertTiff = require('tiff-to-png'),
converter = new ConvertTiff();
var filePath = __dirname + '\\tifffile\\mytifffile.tiff';
var filePAth1=__dirname + '\\images\\abc1.tiff';
var filePAth2=__dirname + '\\images\\abc1.tiff';

var tiffs =[filePAth1,filePAth2];
converter.progress = function(converted, total){
    console.log("File "+total);
};
converter.convertArray(tiffs, filePath);

Above code not creating single tiff with multiple pages. Please help me any suggestion.

Aadi
  • 1,131
  • 2
  • 16
  • 32

0 Answers0