View previous topic :: View next topic |
Author |
Message |
kruemel0809 Tux's lil' helper
Joined: 21 Sep 2004 Posts: 124
|
Posted: Fri May 13, 2005 5:44 pm Post subject: Bilderserie von jpg in pdf wandeln |
|
|
hallo!
kennt jemand ein gutes programm, mit dem ich eine bilderserie von eingescannten altklausuren die alle so in etwa "klausur001, klausur002..." heißen in ein pdf umwandeln kann? also kein ocr sondern einfach als bilder im pdf, so das man das besser weitergeben kann und das alles möglichst automatisch, also ohne dass ich jedes bild einzeln einfügen muss.
am schönsten wäre sowas wie: jpg2pdf -r /home/blub/bla klausur0305.pdf und er macht das automatisch und sortiert nach der laufenden nummer innerhalb des pdfs!
ich hoffe man kann meine wirren angaben verstehen
danke schön!
Last edited by kruemel0809 on Fri May 13, 2005 10:38 pm; edited 1 time in total |
|
Back to top |
|
|
Fauli l33t
Joined: 24 Apr 2004 Posts: 760 Location: Moers, Germany
|
Posted: Fri May 13, 2005 6:24 pm Post subject: |
|
|
Probier es mal so (oder ähnlich): Code: | (find -name "*.jpg" -print0 | xargs -0 -n 1 jpeg2ps -a -p a4) | ps2pdf - alles.pdf |
EDIT: Als einfachere Alternative: Code: | for f in *.jpg; do jpeg2ps -a -p a4 "$f"; done | ps2pdf - alles.pdf |
Die benötigten Pakete sind media-gfx/jpeg2ps und app-text/ghostscript. _________________ Do your part to beautify the web! Turn off link underlining! |
|
Back to top |
|
|
|