Sometimes it is useful to calculate the area covered by ink for a given document e.g. when estimating the total printing costs. I played around with standard tools and to my knowledge the following way is the easiest yet simplest assuming that you are working on a linux machine. First […]
Although scanned images tend to be quite large, books mostly consist of text. Hence, monochrome representations are still legible. Unfortunately, it can be tricky to get a small PDF from your input file. Here is (one) easy way to do it: gs -sDEVICE=pnggray -dNOPAUSE -dQUIET -r120 -sOutputFile=data/m%d.png inputfile.ps Yes, there […]
In general, okular stores the annotations in a XML file somewhere in your .kde-folder. Although you may export the annotations together with the relevant file using the so called document archive, this does not help in case you want to print the decorations or in case you want to pass […]
Wenn beim Installieren von pdftk der Installationsvorgang mit “gcj not found.” abbricht, muss man leider ein Programm installieren, das kein eigenes ebuild hat: [plain]* ERROR: app-text/pdftk-1.12 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * pdftk-1.12.ebuild, line 22: Called die * The specific snippet of code: * die […]
Derzeit habe ich einen Satz PDF-Seiten in PNG-Dateien umzuwandeln. Mit GIMP geht das recht gut – aber manuell und damit recht langsam. Nach einigen Versuchen hier einen Geschwindigkeitsvergleich der verschiedenen Kommandozeilenprogramme. Eingabedaten waren Zeitungsseiten als PDF (Bilder mit einer Auflösung 75dpi). Das Ergebnis sind immer unkomprimierte PNG-Dateien mit 8268 x […]