Hi there,
we have a process that converts each page of a pdf file into a jpeg file.
Like this:
using (var pdf = new Aspose.Pdf.Document(stream))
{
var pdfPage = pdf.Pages[page.InnerPage];
var device = new JpegDevice(new Resolution(CACHE_QUALITY.Resolution), CACHE_QUALITY.Quality);
using (var outStream = new MemoryStream())
{
device.Process(pdfPage, outStream);
return outStream.ToArray();
}
}
When a PDF File is infectet by a malware like DarkGate,
Will this lline of code
using (var pdf = new Aspose.Pdf.Document(stream))
trigger the script or get me into trouble?
It looks like that nothing happend, but Im not sure.
Is there a small tool by Aspose to scan a file?