Save one page of a tif file as a separate file

I need to save one page of a mulit-page tiff file as

  1. a tiff file
  2. a pdf file
    How can this be done?
    I’m using GroupDocs.Viewer, but if necessary I can use another lib

@mwbwc

We support saving one page of TIFF file as PDF. The following code snippet shows how to save first frame to PDF:

using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;

using (Viewer viewer = new Viewer("sample.tiff"))
{
    PdfViewOptions viewOptions = new PdfViewOptions("output.pdf");
    viewer.View(viewOptions, 1);
}

Converting TIFF to TIFF is supported by GroupDocs.Conversion, see Convert images documentation topic.

Thank you, this works perfectly and is so neat!

@mwbwc

You’re welcome!