Hello,
You will find attached a PDF that we are converting to TIFF and the resulting TIFF file.
The TIFF file is completely black, except for the logo.
We are using Aspose.Pdf 7.5.0.0
Here is the code for the conversion:
Aspose.Pdf.
Document pdfDocument = new Aspose.Pdf.Document(StreamHelper.WriteToStream(bytes));// TIFF SettingsTiffSettings tiffSettings = newTiffSettings();tiffSettings.Compression = compression; // CCITT4
tiffSettings.Depth = colorDepth; //Format1bpp
tiffSettings.SkipBlankPages =
false;// ResolutionResolution r = newResolution(resolution); //400// TIFF deviceTiffDevice tiffDevice = newTiffDevice(r, tiffSettings);// TIFFusing (MemoryStream outputStream = newMemoryStream()){
tiffDevice.Process(pdfDocument, outputStream);
pdfDocument.Dispose();
returnStreamHelper.ReadStreamFromBeginning(outputStream);}