#1
|
|||
|
|||
![]()
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 ? Last edited by Asteroid; 30-06-2019 at 01:17. |
The Following User Says Thank You to Asteroid For This Useful Post: | ||
Carldric Clement (30-06-2019) |
Sponsored Links |
#2
|
||||
|
||||
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 |
The Following 2 Users Say Thank You to Razor12911 For This Useful Post: | ||
Carldric Clement (30-06-2019), ShivShubh (24-11-2019) |
#3
|
|||
|
|||
![]() 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. |
#4
|
||||
|
||||
Quote:
Delphi code that we cannot compile with these codes are C++ So basically you have to download and use CTODelphi software. Google It.
__________________
EDM Producer. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Announcement and final word on the CheatHappens vs. h4x0r trainer war | Joe Forster/STA | Game Trainers | 7 | 12-07-2010 08:31 |