Hi All I am using Aspose.Pdf 20.7.0 While converting PDF file to tif/png/jpeg , the qrCode section of the Pdf got black in output Image, Attaching that File As well.
Please note This black qrcode appears only in Linux OS, While in windows it is working fine.
We have .Net Core project and We deployed our server in Linux server
Attaching Code and File As well
string path = “”;
string asposeLicense = @“C:\Dev\Keys\Aspose.Total.lic”;
Aspose.Pdf.License pdflicense = new Aspose.Pdf.License();
pdflicense.SetLicense(asposeLicense);
// Open document
Document pdfDocument = new Document(FilePath);
// Create Resolution object
Resolution resolution = new Resolution(600);
// Create TiffSettings object
TiffSettings tiffSettings = new TiffSettings
{
Compression = CompressionType.CCITT3,
Depth = ColorDepth.Format8bpp,
Shape = ShapeType.Portrait,
SkipBlankPages = true,
Brightness = .7f
};
// Create TIFF device
TiffDevice tiffDevice = new TiffDevice(resolution, tiffSettings);
// Convert a particular page and save the image to stream
path = @"C:\Dev\Files\ViveProcessing\Input\" + "AllPagesToTIFF_out.tif";
tiffDevice.Process(pdfDocument, path);
CRN_4075002461_20210310_085032.pdf (175.8 KB)