![]() |
C++ and delphi coders please help
I KNOW THIS IS NOT CODING RELATED FORM BUT IT SEEMS PEOPLE HERE ARE REALLY SMART AND FOR STACKOVERFLOW IT IS LOW LEVEL QUESTION WHICH IS FINE.
I NEED TO USE POPPLER IN MY DELPHI PROGRAM TO CROP PDF AND EXTRACT TEXT AND IMAGES FROM THEM. I don't know how to compile this and call library from delphi. I am currently using pdftocairo.exe and pdftotext.exe cmd tools, which are utilites of popplers ,by running them as process and why i don't want to use is because in certain i pdfs i need to crop at two position but the cmd tool version supports only cropping at single position at a time and that's causing me extra 5sec of time as the pdf is being rendered two times for the same task. anyone can please help me to use poppler lib to crop pdfs in delphi ? |
I don't understand, there are demos in the source code that show how to use poppler
poppler-0.78.0.tar.xz\poppler-0.78.0\glib\demo poppler-0.78.0.tar.xz\poppler-0.78.0\qt5\demos also here: https://freedesktop.org/wiki/Software/poppler/ there is a part that says "Non exhaustive list of programs using poppler" check one of them to see how they applied poppler in their projects if you can't port the code from cpp to delphi then try looking at these: https://torry.net/pages.php?id=521 or find TMS components that deal with pdfs since the sources are written in Delphi |
Quote:
I already took look at demos but didn't understand or got any point to call them from delphi app. I tried to look program which used poppler but all them are in c++ so i don't think they gonna help me. The most irritating thing is that i don't know how to build the thing how to compile it. any help in that would be nice. delphi interface is required for poppler utils. |
Quote:
Delphi code that we cannot compile with these codes are C++ So basically you have to download and use CTODelphi software. Google It. |
| All times are GMT -7. The time now is 15:51. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com