Hello everyone,
my c# Code manages to create many tiff-files out of a multipage pdf. So far, so good, now I need a way - as an option - to create one multipage tiff (yes, one tiff file with MANY pages/pictures) out of a multipage pdf.
I thought I could use some guerilla tactics by trying this:
my c# Code manages to create many tiff-files out of a multipage pdf. So far, so good, now I need a way - as an option - to create one multipage tiff (yes, one tiff file with MANY pages/pictures) out of a multipage pdf.
I thought I could use some guerilla tactics by trying this:
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new PointD(192, 192);
using (MagickImageCollection images = new MagickImageCollection())
{
// Add all the pages of the pdf file to the collection
images.Read(sPdf, settings);
using (MagickImage vertical = images.Merge() )
{
// save result as a png
vertical.Write( sPdf + ".tif");
}
}
Too bad it merged the pages as layers!