Render PDF to multipage color TIFF

Render PDF to multipage color TIFF

The following code renders a PDF document to multi-page TIFF. It specifies options such as pixel format, compression and resolution.

var pdf = new Document(pdfStream);
var options = new ConvertToTiffOptions
{
  Resolution = 150f,
  Compression = TiffCompression.Lzw,
  PixelFormat = PixelFormat.Rgba32Bpp
};
pdf.ConvertToTiff(tiffStream, options);