poppler

Installing Poppler on cygwin

假如想象 提交于 2019-12-05 06:27:01
I just downloaded Poppler 0.16.5 and I am clueless on how to install this package on cygwin. Can anyone tell me whats the proper command in order to install poppler? user402429 Actually there is a poppler package inside Cygwin 1.7.17-1. Run setup.exe and then do the following: On the window titled "Cygwin Setup", click Next> On the window titled "Cygwin Setup - Choose Installation Type" choose "Install from Internet" and click Next> On the window titled "Cygwin Setup - Choose Installation Directory" leave the root directory as C:\cygwin and "Install for ALL USERS (recommended)" and then click

Remove / Delete all images from a PDF using Ghostscript or ImageMagick

こ雲淡風輕ζ 提交于 2019-12-05 00:33:08
问题 I want to delete / remove all the images in a PDF leaving only the text / font in the PDF with whatever command Line tool possible. I tried using -dGraphicsAlphaBits=1 in a Ghostscript command but the images are present but like a big pixel. 回答1: No, AFAIK, it's not possible to remove all images in a PDF with a commandline tool. What's the purpose of your request anyway? Save on filesize? Remove information contained in images? Or ...? Workaround Whatever you aim at, here is a command that

解决Ubuntu中Document Viewer看中文PDF问题

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 03:00:21
1、问题 Ubuntu或Mint(我用的就是)下用Document Viewer需要打开中文PDF(无内嵌字体)的中文无法正常显示。 2、解决 Ubuntu的Document Viewer的用是Evince。看PDF用的是poppler库。 安装poppler-data来提供对CJK语言的支持,问题解决 sudo apt-get install poppler-data 来源: oschina 链接: https://my.oschina.net/u/569848/blog/77716

read, highlight, save PDF programmatically

大城市里の小女人 提交于 2019-12-04 02:30:30
I'd like to write a small script (which will run on a headless Linux server) that reads a PDF, highlights text that matches anything in an array of strings that I pass, then saves the modified PDF. I imagine I'll end up using something like the python bindings to poppler but unfortunately there's next to zero documentation and I have next to zero experience in python. If anyone could point me to a tutorial, example, or some helpful documentation to get me started it would be greatly appreciated! Have you tried looking at PDFMiner ? It sounds like it does what you want. PDFlib has Python

Can a PDF document contain images with different DPI?

杀马特。学长 韩版系。学妹 提交于 2019-12-03 19:32:55
the question says it all. Are there PDF documents that contain images with different dpi (Dot Per Inch) ? Or is it assumed that if I know the dpi of one image, I know it of the whole document? I upvoted @ypnos' answer, which is completely correct. But I'd like to complement it by showing a very recent, new feature of the pdfimages utility. pdfimages was previously known to be able to extract images from PDF files (and that was its only useful purpose). However, now you can also use it to investigate for more details about the images used, without extracting them. With the next command I query

using Poppler Qt4 c++

佐手、 提交于 2019-12-03 10:08:38
问题 i need a pdf viewer library to be used in my app, am using c++ and QT i downloaded Poppler and code example The Poppler Qt4 interface library but, i do not know how to configure the library to work in my code. i am using QT Creater, in windows xp. thanks in advance, any hint is appreciated as am completely lost. 回答1: assuming you've installed poppler headers and libraries on your system correctly. I'm on ubuntu, and running: ./configure make make install made poppler libraries built and

using Poppler Qt4 c++

谁说我不能喝 提交于 2019-12-03 01:48:09
i need a pdf viewer library to be used in my app, am using c++ and QT i downloaded Poppler and code example The Poppler Qt4 interface library but, i do not know how to configure the library to work in my code. i am using QT Creater, in windows xp. thanks in advance, any hint is appreciated as am completely lost. assuming you've installed poppler headers and libraries on your system correctly. I'm on ubuntu, and running: ./configure make make install made poppler libraries built and installed. From my understanding you can use msys/mingw on windows to something similar to this. Now in your .pro

PHP shell_exec, permission denied for executing -rwxrwxrwx shell script

有些话、适合烂在心里 提交于 2019-12-01 10:43:57
I am currently over ssh on a remote CentOS 5.6 system which runs an Apache webserver. I need to use the poppler pdftohtml binary which, unfortunately, is not currently installed on that machine. So I downloaded the poppler package and built it under my user folder. Since I I am not the system admin, I didn't do make install and I have all my compiled files under /users/myfolder/poppler-0.18.2/ The file that I need to execute through php shell_exec() is /users/myfolder/poppler-0.18.2/utils/pdftohtml If I execute it through my ssh bash, I get the correct output. If I, instead, put this line on a

Cannot install python-poppler-qt5 on windows 8.1

痴心易碎 提交于 2019-12-01 10:31:24
I got this error when trying to install python-poppler-qt5 on windows 8.1 "Failed to determine Qt version ([WinError 2] The system cannot find the file specified)" I have googled the whole day but still couldn't find the solution to that. What's the problem? Run the following command in cmd: pip install python-qt5 Your problem should be solved now. 来源: https://stackoverflow.com/questions/50311856/cannot-install-python-poppler-qt5-on-windows-8-1

PHP shell_exec, permission denied for executing -rwxrwxrwx shell script

北慕城南 提交于 2019-12-01 08:33:04
问题 I am currently over ssh on a remote CentOS 5.6 system which runs an Apache webserver. I need to use the poppler pdftohtml binary which, unfortunately, is not currently installed on that machine. So I downloaded the poppler package and built it under my user folder. Since I I am not the system admin, I didn't do make install and I have all my compiled files under /users/myfolder/poppler-0.18.2/ The file that I need to execute through php shell_exec() is /users/myfolder/poppler-0.18.2/utils