DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
AbcPdf C# PDF To TIFF Conversion
// A quick function that shows a PDF to TIFF conversion routine in C#
// stream - stream of PDF bytes
void ConvertPdfToTiff( Stream stream, string fileName )
{
Doc doc = new Doc();
doc.Read(stream);
doc.Rendering.SaveAppend = true;
for( int i = 0; i < doc.PageCount; ++i )
{
doc.Page = i;
doc.Rendering.Save(fileName);
}
}




