Free Support Forum - aspose.com

Issue with generating Tiff from Pptx

We are using Aspose.Slides to generate a Pptx file, and from this file to generate a Tiff file.
The generated Tiff file, looks weird, and doesn’t show what it should.
Below you can find the code that I am using
image.png (154.9 KB)

using System.IO;
using Aspose.Slides.Export;
using PptAsposeReproducer.Properties;

namespace PptAsposeReproducer
{
public static class Program
{
public static void Main(string[] args)
{
var pptxBytes = Resources.Report;
var pptx = new MemoryStream(pptxBytes);
var tiffOutput = new MemoryStream();
pptx.Position = 0;
using (var presentation = new Aspose.Slides.Presentation(pptx))
{
var tiffOptions = new TiffOptions
{
CompressionType = TiffCompressionTypes.LZW
};
presentation.Save(tiffOutput, SaveFormat.Tiff, tiffOptions);
}
using (var file = new FileStream(“Tiff.tiff”, FileMode.Create))
{
tiffOutput.Position = 0;
tiffOutput.CopyTo(file);
}
}
}
}

@dfactset,

I have observed the comparison image shared by you and request you to please share the source presentation and generated TIFF for reference. Please also try using latest Aspose.Slides for .NET 18.1 on your end before sharing information with us.

I am trying to add the sample project that I created but it’s not working.Report.zip (20.7 KB)

@dfactset,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-39846 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-39846) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz