View previous topic :: View next topic |
Author |
Message |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat May 27, 2006 10:09 pm Post subject: put pictures into PDF-file? |
|
|
Hey now.
does anyone know a tool that lets you put pictures into a PDF-file?
no OCR required. |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat May 27, 2006 10:17 pm Post subject: |
|
|
convert (part of imagemagick) _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat May 27, 2006 10:20 pm Post subject: |
|
|
with convert i can put 100 jpgs into ONE big pdf ?? |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat May 27, 2006 10:23 pm Post subject: |
|
|
yes
easiest case: convert *jpg test.pdf _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat May 27, 2006 10:33 pm Post subject: |
|
|
oh thats way cool, thanks alot. |
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Mon Jun 26, 2006 6:20 am Post subject: |
|
|
Think4UrS11 wrote: | yes
easiest case: convert *jpg test.pdf |
i have a small problem with this case.
when i try to convert *jpg bla.pdf with 40MB of jpgs, my 900MB RAM+SWAP quickly fill up and then the process dies.
i can help myself by converting each jpg to a single ps and then merge them with psmerge but i am curious if this is normal? |
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Mon Jun 26, 2006 6:37 am Post subject: |
|
|
shit, psmerge is totally broken. |
|
Back to top |
|
 |
nom de plume Tux's lil' helper


Joined: 01 Jun 2006 Posts: 104
|
Posted: Mon Jun 26, 2006 6:43 am Post subject: |
|
|
you can merge pdfs with ghostscript:
Code: | gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf part1.pdf part2.pdf |
|
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Mon Jun 26, 2006 6:58 am Post subject: |
|
|
that worked very well, thank you very much  |
|
Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Mon Jun 26, 2006 3:15 pm Post subject: |
|
|
new problem, convert now refuses to convert jpg to pdf:
Quote: | sascha@lap ~/container/FOT01 $ convert out10.pnm.jpg.jpg out10.pdf -verbose |
Code: |
ERROR: Cannot find a %%EOF marker anywhere in the file.
**** Warning: An error occurred while reading an XREF table.
**** The file has been damaged. This may have been caused
**** by a problem while converting or transfering the file.
**** Ghostscript will attempt to recover the data.
ERROR: /rangecheck in --getinterval--
Operand stack:
1024 (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...) 0 (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...) 0 -10
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval--
Dictionary stack:
--dict:1126/1686(ro)(G)-- --dict:0/20(G)-- --dict:85/200(L)-- --dict:85/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro)(G)-- --dict:18/24(L)--
Current allocation mode is local
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
convert: Postscript delegate failed `out10.pdf'.
|
Dunno what that means but i can watch the jpg just fine
[update]
files that i converted previously now also cant be converted anymore, i guess it was a bad idea to upgrade to the latest version. |
|
Back to top |
|
 |
|