Open coderPureBasic opened 7 years ago
I prefer not to maintain these methods. Pdfium actually provides a lot of methods to modify PDF documents, but the PdfiumViewer project doesn't really work well with those. It assumes that the PDF file is static, so changes will not be properly displayed in the viewer.
If you need to modify PDF files, you're far better off using https://github.com/itext/itextsharp. Could you have a look at that project and see whether this is an option for you?
I can't be sure, but either one of these two functions is not working properly with the latest pdfium.dll build. The JPG image is loaded, inserted, and displayed properly with the older build (December 6 2015 - linked here: PdfiumViewer/Libraries/Pdfium/x86/, but not with the newer build (September 28 2016 - obtained via Git download).
However, with both builds, all functions return success results. Tested on 64-bit versions of Windows 8.1 and Windows 10 through 32bit compiles. The execution order of the function set is as follows:
Is this some known issue, and might there be some workaround for it?
Thank you.
Sofia I.