We use GDPicture in an Azure Function and until now it worked without any problems. But after upgrading from version 14.1.0.150 to 14.1.0165 we get the following error:
Code: Select all
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at ᜅ.ᜀ(Object A_0)
at GdPicture14.GdPictureImaging.ᜀ(ᤡ A_0, Single A_1, Nullable`1 A_2, Single A_3, Boolean A_4)
at Comatic.KrediScan.AzureFunctions.Services.GdPictureService.SplitPdf(Stream mergedPdf) in /home/vsts/work/1/s/Comatic.KrediScan.AzureFunctions/Services/GdPictureService.cs:line 514
Code: Select all
511 if (barcodeFound == 0)
512 {
513 //AutoDeskew
514 oGdPictureImaging.AutoDeskew(rasterImageId);
515 oGdPictureImaging.BarcodeQRReaderDoScan(rasterImageId, BarcodeQRReaderScanMode.BestQuality, 1);
516 barcodeFound = oGdPictureImaging.BarcodeQRReaderGetBarcodeCount();
517 }
Thank you for your help
Michael