using Aspose.Imaging;
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;

//You can get all image templates from https://github.com/aspose-imaging/Aspose.Imaging-for-.NET/blob/master/Examples/Data/Templates.zip
//After download archive please unpack it and replace templatesFolder variable path with your path to unpacked archive folder
string templatesFolder = @"c:\Users\USER\Downloads\templates\";

// Load the djvu file in an instance of Image
using (var image = Aspose.Imaging.Image.Load(Path.Combine(templatesFolder, @"template.djvu")))
{
   // Create an instance of TiffOptions
   var exportOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Aspose.Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);

   // Save djvu to tif
   image.Save(Path.Combine(templatesFolder, "output.tif"), exportOptions);

   File.Delete(Path.Combine(templatesFolder, "output.tif"));
}