I am converting a 3MB file and right after I run the process method, the memory of my app jumps to over 1GB when I either put it to a stream or write it to a file. I have a requirement that I will need to convert 100MB files so I’m concerned of the scale of this.
My code is below
Aspose.Pdf.Document doc = new Aspose.Pdf.Document("C:\test.pdf");
TiffSettings tiffSettings = new TiffSettings();
tiffSettings.Compression = CompressionType.CCITT4;
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Default;
tiffSettings.Shape = ShapeType.Portait;
tiffSettings.SkipBlankPages = false;
TiffDevice tiffDevice = new TiffDevice(new Resolution(200), tiffSettings);
tiffDevice.Process(doc, "C:\test.tif");
Thank you