Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/11/2009, à 11:56

abelthorne

[résolu] Créer un PDF de plusieurs pages

Bonjour,
J'ai plusieurs images (pages d'un document scannées) et je voudrais en faire un PDF pour regrouper l'ensemble.
J'imagine qu'il y a plus simple que de créer un doc dans Scribus ou OpenOffice, d'importer les images et d'exporter le tout en PDF, non ? Une commande en ligne, peut-être ? ou bien une option dans Eye of Gnome, GIMP, etc. ?

Dernière modification par abelthorne (Le 23/11/2009, à 12:20)

Hors ligne

#2 Le 23/11/2009, à 12:02

Tomzz

Re : [résolu] Créer un PDF de plusieurs pages

Bonjour,
Gscan2pdf en Gui peut-être.

Hors ligne

#3 Le 23/11/2009, à 12:09

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

D'après la description, ça sert à scanner des images en vrac pour générer un PDF. Mais mes images sont déjà scannées (en fait, le scanner n'est pas branché sur mon PC sous Ubuntu puisque je ne peux pas l'utiliser avec).
Je cherche juste à regrouper des images en vrac dans un PDF. Ça me paraît bizarre qu'il n'y ait pas une commande ou une fonction toute simple dans un logiciel pour une opération aussi basique.

EDIT : tiens, par exemple, si on sélectionne des fichiers, on peut faire "envoyer à" dans le menu contextuel et les balancer à Brasero pour les graver, à un partage réseau, à Empathy, à Evolution... Peut-être qu'il y a une extension Nautilus qui permet de les envoyer à une imprimante virtuelle de manière à générer un PDF ?

Dernière modification par abelthorne (Le 23/11/2009, à 12:11)

Hors ligne

#4 Le 23/11/2009, à 12:12

Tomzz

Re : [résolu] Créer un PDF de plusieurs pages

On peut importer des images dans Gscan2:
Fichiers > Importer > sélectionner 1 ou plusieurs images et voilà.

Au passage je trouve cet outil génial.

Hors ligne

#5 Le 23/11/2009, à 12:20

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

Effectivement, ça marche pas mal.

Hors ligne

#6 Le 23/11/2009, à 12:31

Tomzz

Re : [résolu] Créer un PDF de plusieurs pages

J'utilise ça avec une imprimante à chargeur, quand je doit scanner un dossier, je met 30 feuille dans l'imprimante et avec la config qui va bien, gscan me sort mon pdf de 30 pages tout seul comme un grand.

C'est un peu hors sujet, mais avant il me fallait plus d'une heure pour faire ça, la 3 minutes pour la config et l'enregistrement et tout le reste se fait tout seul.

C'est pour ça que je trouve ce soft génial, le seul truc qui lui manque c'est que bizarement il ne peux pas importer un pdf, ce serait sympa pourtant pour le réorganiser.
Un jour je me pencherai sur la question.

Hors ligne

#7 Le 23/11/2009, à 12:35

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

Il y a pdfedit qui permet d'éditer un PDF. Mais je n'ai jamais vraiment essayé.

Hors ligne

#8 Le 23/11/2009, à 12:43

Tomzz

Re : [résolu] Créer un PDF de plusieurs pages

Oui, il y a aussi xpdf-utils en ligne de commandes (je pensait à lui pour faire un script d'importation des pdf dans gscan), ou pdf-import pour OOo.

Mais j'aime bien Gscan2pdf et cette fonction d'import des pdf est la seule qu'il lui manque pour couvrir tous mes besoins en pdf.

Hors ligne

#9 Le 23/11/2009, à 19:44

Brunod

Re : [résolu] Créer un PDF de plusieurs pages

pdftk :
[bruno ~]$ pdftk --help

pdftk 1.41 a Handy Tool for Manipulating PDF Documents
Copyright (C) 2003-06, Sid Steward - Please Visit: www.pdftk.com
This is free software; see the source code for copying conditions. There is
NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SYNOPSIS
       pdftk <input PDF files | - | PROMPT>
        [input_pw <input PDF owner passwords | PROMPT>]
        [<operation> <operation arguments>]
        [output <output filename | - | PROMPT>]
        [encrypt_40bit | encrypt_128bit]
        [allow <permissions>]
        [owner_pw <owner password | PROMPT>]
        [user_pw <user password | PROMPT>]
        [flatten] [compress | uncompress]
        [keep_first_id | keep_final_id] [drop_xfa]
        [verbose] [dont_ask | do_ask]
       Where:
        <operation> may be empty, or:
        [cat | attach_files | unpack_files | burst |
         fill_form | background | stamp | generate_fdf
         dump_data | dump_data_fields | update_info]

       For Complete Help: pdftk --help

DESCRIPTION
       If PDF is electronic paper, then pdftk is an electronic staple-remover,
       hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.  Pdftk is a
       simple tool for doing everyday things with PDF documents.  Use it to:

       * Merge PDF Documents
       * Split PDF Pages into a New Document
       * Rotate PDF Documents or Pages
       * Decrypt Input as Necessary (Password Required)
       * Encrypt Output as Desired
       * Fill PDF Forms with X/FDF Data and/or Flatten Forms
       * Generate FDF Data Stencil from PDF Forms
       * Apply a Background Watermark or a Foreground Stamp
       * Report PDF Metrics such as Metadata and Bookmarks
       * Update PDF Metadata
       * Attach Files to PDF Pages or the PDF Document
       * Unpack PDF Attachments
       * Burst a PDF Document into Single Pages
       * Uncompress and Re-Compress Page Streams
       * Repair Corrupted PDF (Where Possible)

OPTIONS
       A summary of options is included below.

       --help, -h
          Show summary of options.

       <input PDF files | - | PROMPT>
          A list of the input PDF files. If you plan to combine these PDFs
          (without using handles) then list files in the  order  you  want
          them combined.  Use - to pass a single PDF into pdftk via stdin.
          Input files can be associated with handles, where a handle is  a
          single, upper-case letter:

          <input PDF handle>=<input PDF filename>

          Handles  are often omitted.  They are useful when specifying PDF
          passwords or page ranges, later.

          For example: A=input1.pdf B=input2.pdf

       [input_pw <input PDF owner passwords | PROMPT>]
          Input PDF owner passwords, if  necessary,  are  associated  with
          files by using their handles:

          <input PDF handle>=<input PDF file owner password>

          If  handles  are    not  given, then passwords are associated with
          input files by order.

          Most pdftk features require that encrypted input PDF are    accom-
          panied  by  the  ~owner~ password. If the input PDF has no owner
          password, then the user password must be given, instead.    If the
          input PDF has no passwords, then no password should be given.

          When  running  in do_ask mode, pdftk will prompt you for a pass-
          word if the supplied password is incorrect or none was given.

       [<operation> <operation arguments>]
          If this optional argument is omitted, then pdftk runs  in  'fil-
          ter'  mode.   Filter mode takes only one PDF input and creates a
          new PDF after applying all of the output options,  like  encryp-
          tion and compression.

          Available   operations  are:  cat,  attach_files,  unpack_files,
          burst,     fill_form,    background,    stamp,        dump_data,
          dump_data_fields,  generate_fdf,    update_info.  Some  operations
          takes additional arguments, described below.

      cat [<page ranges>]
         Catenates pages from input PDFs to create a  new  PDF.   Page
         order    in  the new PDF is specified by the order of the given
         page ranges.  Page ranges are described like this:

         <input  PDF  handle>[<begin  page  number>[-<end  page   num-
         ber>[<qualifier>]]][<page rotation>]

         Where    the  handle identifies one of the input PDF files, and
         the beginning and ending page numbers    are  one-based    refer-
         ences to pages in the PDF file, and the qualifier can be even
         or odd, and the page rotation can be N, S, E, W, L, R, or  D.

         If  the handle is omitted from the page range, then the pages
         are taken from the first input PDF.

         The even qualifier causes pdftk to use only the even-numbered
         PDF  pages, so 1-6even yields pages 2, 4 and 6 in that order.
         6-1even yields pages 6, 4 and 2 in that order.

         The odd qualifier works similarly to the even.

         The page rotation setting can cause pdftk to rotate pages and
         documents.  Each option sets the page rotation as follows (in
         degrees): N: 0, E: 90, S: 180, W: 270, L:  -90,  R:  +90,  D:
         +180. L, R, and D make relative adjustments to a page's rota-
         tion.

         If no arguments are passed to cat, then  pdftk  combines  all
         input PDFs in the order they were given to create the output.

         NOTES:
         * <end page number> may be less than <begin page number>.
         * The keyword end may be used to reference the final page  of
           a document instead of a page number.
         * Reference a single page by omitting the ending page number.
         * The handle may be used alone to represent  the  entire  PDF
           document, e.g., B1-end is the same as B.

         Page Range Examples w/o Handles:
         1-endE - rotate entire document 90 degrees
         5 11 20
         5-25oddW - take odd pages in range, rotate 90 degrees
         6-1

         Page Range Examples Using Handles:
         Say A=in1.pdf B=in2.pdf, then:
         A1-21
         Bend-1odd
         A72
         A1-21 Beven A72
         AW - rotate entire document 90 degrees
         B
         A2-30evenL  -    take  the even pages from the range, remove 90
         degrees from each page's rotation
         A A
         AevenW AoddE
         AW BW BD

      attach_files <attachment filenames | PROMPT> [to_page <page number |
      PROMPT>]
         Packs arbitrary files into a PDF using PDF's file  attachment
         features.  More  than    one  attachment  may  be  listed after
         attach_files. Attachments are added  at  the  document  level
         unless  the  optional    to_page option is given, in which case
         the files are attached to the given page  number  (the  first
         page is 1, the final page is end). For example:

         pdftk    in.pdf    attach_files table1.html table2.html to_page 6
         output out.pdf

      unpack_files
         Copies all of the attachments from the  input    PDF  into  the
         current  folder or to an output directory given after output.
         For example:

         pdftk report.pdf unpack_files output ~/atts/

         or, interactively:

         pdftk report.pdf unpack_files output PROMPT

      burst  Splits a single, input PDF document  into  individual    pages.
         Also creates a report named doc_data.txt which is the same as
         the output from dump_data.  If the output section is omitted,
         then  PDF  pages  are    named: pg_%04d.pdf, e.g.: pg_0001.pdf,
         pg_0002.pdf, etc.  To name these  pages  yourself,  supply  a
         printf-styled    format    string    via  the  output section.  For
         example, if you want pages named:  page_01.pdf,  page_02.pdf,
         etc.,    pass output page_%02d.pdf to pdftk.  Encryption can be
         applied to the output by appending  output  options  such  as
         owner_pw, e.g.:

         pdftk in.pdf burst owner_pw foopass

      fill_form <FDF data filename | XFDF data filename | - | PROMPT>
         Fills    the  single input PDF's form fields with the data from
         an FDF file, XFDF file or  stdin.  Enter  the    data  filename
         after    fill_form,  or    use - to pass the data via stdin, like
         so:

         pdftk form.pdf fill_form data.fdf output form.filled.pdf

         After filling a form,    the  form  fields  remain  interactive
         unless you also use the flatten output option. flatten merges
         the form fields with the  PDF    pages.    You  can  use  flatten
         alone, too, but only on a single PDF:

         pdftk form.pdf fill_form data.fdf output out.pdf flatten

         or:

         pdftk form.filled.pdf output out.pdf flatten

         If  the  input  FDF file includes Rich Text formatted data in
         addition to plain text, then the Rich    Text  data  is    packed
         into  the  form fields as well as the plain text.  Pdftk also
         sets a flag that cues Acrobat/Reader to  generate  new  field
         appearances  based on the Rich Text data.  That way, when the
         user opens the PDF, the viewer  will  create  the  Rich  Text
         fields  on  the spot.    If the user's PDF viewer does not sup-
         port Rich Text, then the user will see the  plain  text  data
         instead.   If    you  flatten  this  form  before Acrobat has a
         chance to create (and save) new field appearances,  then  the
         plain text field data is what you'll see.

      background <background PDF filename | - | PROMPT>
         Applies  a  PDF watermark to the background of a single input
         PDF.  Pass the background  PDF's  filename  after  background
         like so:

         pdftk in.pdf background back.pdf output out.pdf

         Pdftk    uses  only  the first page from the background PDF and
         applies it to every page of the  input  PDF.    This  page  is
         scaled  and rotated as needed to fit the input page.  You can
         use - to pass a background PDF into pdftk via stdin.

         If the input PDF does not have a transparent background (such
         as  a    PDF  created from page scans) then the resulting back-
         ground won't be visible -- use the stamp feature instead.

      stamp <stamp PDF filename | - | PROMPT>
         This behaves just like the background feature except it over-
         lays  the  stamp  PDF page on top of the input PDF document's
         pages.  This works best if the stamp PDF page has a transpar-
         ent background.

      dump_data
         Reads    a  single,  input PDF file and reports various statis-
         tics, metadata, bookmarks (a/k/a outlines), and  page    labels
         to  the  given  output filename or (if no output is given) to
         stdout.  Does not create a new PDF.

      dump_data_fields
         Reads a single, input PDF file and reports form field statis-
         tics  to the given output filename or (if no output is given)
         to stdout.  Does not create a new PDF.

      generate_fdf
         Reads a single, input PDF file and generates a FDF file suit-
         able  for fill_form out of it to the given output filename or
         (if no output is given) to stdout.  Does  not    create    a  new
         PDF.

      update_info <info data filename | - | PROMPT>
         Changes the metadata stored in a single PDF's Info dictionary
         to match the input data file. The input data  file  uses  the
         same  syntax  as  the    output    from  dump_data. This does not
         change the metadata stored in the PDF's XMP stream, if it has
         one. For example:

         pdftk in.pdf update_info in.info output out.pdf

       [output <output filename | - | PROMPT>]
          The  output  PDF filename may not be set to the name of an input
          filename. Use - to output to stdout.  When using    the  dump_data
          operation,  use  output to set the name of the output data file.
          When using the unpack_files operation, use  output  to  set  the
          name  of    an  output directory.  When using the burst operation,
          you can use output to control the resulting PDF  page  filenames
          (described above).

       [encrypt_40bit | encrypt_128bit]
          If  an  output  PDF  user or owner password is given, output PDF
          encryption strength defaults to 128 bits.  This can be  overrid-
          den by specifying encrypt_40bit.

       [allow <permissions>]
          Permissions  are applied to the output PDF only if an encryption
          strength is specified or an owner or user password is given.  If
          permissions  are    not  specified,  they default to 'none,' which
          means all of the following features are disabled.

          The permissions section may include one or more of the following
          features:

          Printing
             Top Quality Printing

          DegradedPrinting
             Lower Quality Printing

          ModifyContents
             Also allows Assembly

          Assembly

          CopyContents
             Also allows ScreenReaders

          ScreenReaders

          ModifyAnnotations
             Also allows FillIn

          FillIn

          AllFeatures
             Allows  the  user    to  perform  all of the above, and top
             quality printing.

       [owner_pw <owner password | PROMPT>]

       [user_pw <user password | PROMPT>]
          If an encryption strength is given but  no  passwords  are  sup-
          plied,  then  the  owner    and user passwords remain empty, which
          means that the resulting PDF may    be  opened  and  its  security
          parameters altered by anybody.

       [compress | uncompress]
          These  are  only useful when you want to edit PDF code in a text
          editor like vim or emacs.  Remove PDF page stream compression by
          applying    the  uncompress  filter.  Use  the  compress filter to
          restore compression.

       [flatten]
          Use this option to merge an input PDF's interactive form    fields
          (and their data) with the PDF's pages. Only one input PDF may be
          given. Sometimes used with the fill_form operation.

       [keep_first_id | keep_final_id]
          When combining pages  from  multiple  PDFs,  use    one  of  these
          options  to  copy the document ID from either the first or final
          input document into the new output PDF. Otherwise pdftk  creates
          a  new  document    ID  for  the  output PDF. When no operation is
          given, pdftk always uses the ID from the (single) input PDF.

       [drop_xfa]
          If your input PDF is a form created using  Acrobat  7  or  Adobe
          Designer,  then  it  probably has XFA data.  Filling such a form
          using pdftk yields a PDF with data  that    fails  to  display  in
          Acrobat  7  (and    6?).  The workaround solution is to remove the
          form's XFA data, either before you fill the form using pdftk  or
          at the time you fill the form. Using this option causes pdftk to
          omit the XFA data from the output PDF form.

          This option is only useful when running pdftk on a single  input
          PDF.   When  assembling  a PDF from multiple inputs using pdftk,
          any XFA data in the input is automatically omitted.

       [verbose]
          By default, pdftk runs quietly. Append verbose to the end and it
          will speak up.

       [dont_ask | do_ask]
          Depending on the compile-time settings (see ASK_ABOUT_WARNINGS),
          pdftk might prompt you for further input when  it  encounters  a
          problem,    such as a bad password. Override this default behavior
          by adding dont_ask (so pdftk won't ask you what to do) or do_ask
          (so pdftk will ask you what to do).

          When  running in dont_ask mode, pdftk will over-write files with
          its output without notice.

EXAMPLES
       Decrypt a PDF
     pdftk secured.pdf input_pw foopass output unsecured.pdf

       Encrypt a PDF using 128-bit strength (the default), withhold  all  per-
       missions (the default)
     pdftk 1.pdf output 1.128.pdf owner_pw foopass

       Same as above, except password 'baz' must also be used to  open    output
       PDF
     pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz

       Same as above, except printing is allowed (once the PDF is open)
     pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow printing

       Join in1.pdf and in2.pdf into a new PDF, out1.pdf
     pdftk in1.pdf in2.pdf cat output out1.pdf
     or (using handles):
     pdftk A=in1.pdf B=in2.pdf cat A B output out1.pdf
     or (using wildcards):
     pdftk *.pdf cat output combined.pdf

       Remove 'page 13' from in1.pdf to create out1.pdf
     pdftk in.pdf cat 1-12 14-end output out1.pdf
     or:
     pdftk A=in1.pdf cat A1-12 A14-end output out1.pdf

       Apply 40-bit  encryption  to  output,  revoking    all  permissions  (the
       default). Set the owner PW to 'foopass'.
     pdftk 1.pdf 2.pdf cat output 3.pdf encrypt_40bit owner_pw foopass

       Join two files, one of which requires the password 'foopass'. The  out-
       put is not encrypted.
     pdftk A=secured.pdf 2.pdf input_pw A=foopass cat output 3.pdf

       Uncompress PDF page streams for editing the PDF in a text editor (e.g.,
       vim, emacs)
     pdftk doc.pdf output doc.unc.pdf uncompress

       Repair a PDF's corrupted XREF table and stream lengths, if possible
     pdftk broken.pdf output fixed.pdf

       Burst  a  single  PDF  document    into  pages  and  dump    its  data   to
       doc_data.txt
     pdftk in.pdf burst

       Burst a single PDF document into  encrypted  pages.  Allow  low-quality
       printing
     pdftk in.pdf burst owner_pw foopass allow DegradedPrinting

       Write a report on PDF document metadata and bookmarks to report.txt
     pdftk in.pdf dump_data output report.txt

       Rotate the first PDF page to 90 degrees clockwise
     pdftk in.pdf cat 1E 2-end output out.pdf

       Rotate an entire PDF document to 180 degrees
     pdftk in.pdf cat 1-endS output out.pdf
[bruno ~]$


Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis

Hors ligne

#10 Le 23/11/2009, à 19:50

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

C'est pas forcément très utile de recopier le man d'un logiciel sans aucune explication...

Hors ligne

#11 Le 23/11/2009, à 23:06

Brunod

Re : [résolu] Créer un PDF de plusieurs pages

Si, ça permet de voir si ça fait ce qu'on veut sans devoir installer le paquet pour lire le --help; maintenant c'est vrai qu'en guise d'explication, dans un cas comme dans l'autre, faut le lire quand même.
J'aurais du me contenter d'un laconique "pdftk" pour ne pas polluer.


Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis

Hors ligne

#12 Le 24/11/2009, à 08:49

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

Ce qui aurait été tout aussi utile au milieu de la discussion pour savoir si tu répondais à ma question sur le création de PDF ou à Tomzz qui cherche à éditer un PDF...

Hors ligne

#13 Le 24/11/2009, à 13:55

cinaptix

Re : [résolu] Créer un PDF de plusieurs pages

Nouveau et à essayer PDF Mod (dans les dépôts de Karmic)

http://www.silicon.fr/fr/news/2009/08/27/pdf_mod___l_outil_gratuit_qui_revolutionne_le_monde_des_pdf


↔ Libriste radicalisé depuis mai 2007 ↔
① - Xubuntu 20.04 - CM Gigabyte GA-B85M-D3H - Pentium G3420 à 3,2 Ghz - RAM 8 Go à 1600 Mhz - SSD 64 Go + HDD 500 Go.
② - Raspberry Pi 3 (Raspbian Stretch) — ③ - Tablette Lenovo 10' (Android 10) — ④ - Smartphone Honor 9A (dégooglisé)

Hors ligne

#14 Le 24/11/2009, à 14:21

Brunod

Re : [résolu] Créer un PDF de plusieurs pages

@abelthorne : excuse-moi, mais j'avais l'impression que la discussion sur l'édition de pdf ne visait qu'à trouver une solution à la question que tu poses au post 1, le seul où j'ai vu une question d'ailleurs.
Sinon, je re-cite :

DESCRIPTION
       If PDF is electronic paper, then pdftk is an electronic staple-remover,
       hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.  Pdftk is a
       simple tool for doing everyday things with PDF documents.  Use it to:

       * Merge PDF Documents
       * Split PDF Pages into a New Document
       * Rotate PDF Documents or Pages
       * Decrypt Input as Necessary (Password Required)
       * Encrypt Output as Desired
       * Fill PDF Forms with X/FDF Data and/or Flatten Forms
       * Generate FDF Data Stencil from PDF Forms
       * Apply a Background Watermark or a Foreground Stamp
       * Report PDF Metrics such as Metadata and Bookmarks
       * Update PDF Metadata
       * Attach Files to PDF Pages or the PDF Document
       * Unpack PDF Attachments
       * Burst a PDF Document into Single Pages
       * Uncompress and Re-Compress Page Streams
       * Repair Corrupted PDF (Where Possible)

au cas où tu serais toujours à la recherche d'une solution.
En clair (mais sans images wink ) si tes images dont tu ne nous a pas dit (ou que je n'ai pas lu) le format, si elles sont déjà en pdf distincts, tu peux les grouper en un seul avec pdftk; sinon tu imprimes chacune séparémént comme tu veux vers une imprimante pdf, puis tu regroupes le tout toujours avec pdftk.  Ou encore tu lance convert de imagemagick pour transfomrer tes images.??? en images.pdf puis toujours pdftk.
Allez, bon amusement.


Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis

Hors ligne

#15 Le 24/11/2009, à 14:34

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

Le problème a été résolu par l'utilisation de gscan2pdf (d'où le passage du titre en [résolu]). Mes images ne sont pas en PDF à la base, sinon je l'aurais précisé.
Ta solution me paraît un peu plus lourde (d'abord imprimer les images en PDF avec une imprimante virtuelle avant d'utiliser un autre logiciel pour les mettre ensemble).

Idéalement, j'aurais voulu imprimer une série d'image en PDF avec une imprimante virtuelle mais dans un seul fichier. Je ne sais pas si ce serait possible avec un seul soft ?

Sinon, est-ce qu'ImageMagick pourrait le faire (plusieurs images directement dans un PDF, sans devoir faire appel à pdftk ou autre pour les regrouper) ?

Hors ligne

#16 Le 24/11/2009, à 14:47

Brunod

Re : [résolu] Créer un PDF de plusieurs pages

Je ne pense pas (mais je ne le connais que ce pour quoi je m'en sers, cad pas toutes ses possibilités.) par contre il peut te convertir tout un répertoire d'images en pdf d'une seule ligne de commande. Si tu enchaines avec une commande itérative ou en manuele en ne changeant qu'un numero d'image avec pdftk (j"insiste wink ) ça devrait le faire vite quand même.
Je ne saurais tester, je suis sur xp en ce moment...


Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis

Hors ligne

#17 Le 18/11/2011, à 08:51

Grokwik

Re : [résolu] Créer un PDF de plusieurs pages

Hello,
réponse avec quelques années de retard mais bon...
la commande "convert" fait ça parfaitement :

convert -monitor -size 600x800 *.pdf pouet.pdf

Par contre, moi j'arrive pas trop à trouver comment rajouter des chapitres (permettant d'avoir un sommaire)

Hors ligne

#18 Le 18/11/2011, à 08:59

abelthorne

Re : [résolu] Créer un PDF de plusieurs pages

Merci pour l'info. smile

Pour tes chapitres, je pense qu'il faudrait passer par pdfedit ou un soft du même genre.

Hors ligne

#19 Le 18/06/2012, à 14:45

Maisondouf

Re : [résolu] Créer un PDF de plusieurs pages

Pour rester sur le sujet du post, je voulais faire la même chose et 'pdfchain' (12.04) sait faire plein de choses avec les pdf dont les concaténer.

I'm happy ! wink


ASUS M5A88-v EVO avec AMD FX(tm)-8120 Eight-Core Processor,  OS principal Precise 12.04.1 LTS 63bits½
Bricoleur, menteur, inculte, inadapté social et mythomane, enfin d'après certains....
"the secret of my form is summed up in two words, no sport" (Winston Churchill)

Hors ligne

#20 Le 18/06/2012, à 15:08

Ubuntu1988

Re : [résolu] Créer un PDF de plusieurs pages

Sinon, plus simple wink

Dernière modification par Ubuntu1988 (Le 18/06/2012, à 15:08)


J'ai perdu ! :(

Hors ligne

#21 Le 19/06/2012, à 00:29

Maisondouf

Re : [résolu] Créer un PDF de plusieurs pages

Ubuntu1988 a écrit :

Sinon, plus simple wink

Le but du jeu, c'était de regrouper plusieurs PDF dans un seul PDF...

Pas de les convertir en stroumpf lol

Sans rire "xsane" sort directement les documents au format PDF mais un par page (toto-0001, toto-0002, etc, etc).
Donc avec 'pdfchain', on peut les regrouper en un seul document 'toto.pdf'.

Dernière modification par Maisondouf (Le 19/06/2012, à 00:32)


ASUS M5A88-v EVO avec AMD FX(tm)-8120 Eight-Core Processor,  OS principal Precise 12.04.1 LTS 63bits½
Bricoleur, menteur, inculte, inadapté social et mythomane, enfin d'après certains....
"the secret of my form is summed up in two words, no sport" (Winston Churchill)

Hors ligne

#22 Le 21/07/2013, à 19:33

remixmaz

Re : [résolu] Créer un PDF de plusieurs pages

Convertissez vos images en pdf puis utilisez PDF-Shuffler ! Il vous suffit d'ouvrir tous les documents pdf puis de cliquer sur le bouton "exporter" pour créer un document unique.

Hors ligne

#23 Le 24/11/2013, à 21:01

ubunpac

Re : [résolu] Créer un PDF de plusieurs pages

@remixmaz : Moi qui cherchait à regrouper plusieurs fichiers PDF en un seul, avec PDF-Shuffler ça fonctionne du tonnerre !!
Merci pour l'info ! big_smile

Dernière modification par ubunpac (Le 24/11/2013, à 21:04)


°Software is like sex, it's better when it's free. (Linus Torvalds)
°Commencez par changer en vous ce que vous voulez changer autour de vous. (Gandhi)
°Le savoir n'est bon que s'il est partagé. (???)

Hors ligne

#24 Le 24/12/2017, à 09:40

frdonn

Re : [résolu] Créer un PDF de plusieurs pages

Maisondouf a écrit :

Pour rester sur le sujet du post, je voulais faire la même chose et 'pdfchain' (12.04) sait faire plein de choses avec les pdf dont les concaténer.

I'm happy ! wink

Merci ça fonctionne et le logiciel est très intuitif smile

Hors ligne

#25 Le 29/12/2017, à 08:48

serged

Re : [résolu] Créer un PDF de plusieurs pages

abelthorne a écrit :

D'après la description, ça sert à scanner des images en vrac pour générer un PDF. Mais mes images sont déjà scannées (en fait, le scanner n'est pas branché sur mon PC sous Ubuntu puisque je ne peux pas l'utiliser avec).
Je cherche juste à regrouper des images en vrac dans un PDF. Ça me paraît bizarre qu'il n'y ait pas une commande ou une fonction toute simple dans un logiciel pour une opération aussi basique.

EDIT : tiens, par exemple, si on sélectionne des fichiers, on peut faire "envoyer à" dans le menu contextuel et les balancer à Brasero pour les graver, à un partage réseau, à Empathy, à Evolution... Peut-être qu'il y a une extension Nautilus qui permet de les envoyer à une imprimante virtuelle de manière à générer un PDF ?

Alors en ligne de commande :

convert *.jpg resultat.pdf

(si tu veux concaténer tous les *.jpeg, bien sûr, sinon, tu adaptes...)


LinuxMint Vera Cinnamon et d'autres machines en MATE, XFCE... 20.x , 21.x ou 19.x
Tour : Asus F2A55 / AMD A8-5600K APU 3,6GHz / RAM 16Go / Nvidia GeForce GT610 / LM21.1 Cinnamon
Portable : LDLC Mercure MH : Celeron N3450 /RAM 4Go / Intel HD graphics 500 i915 / biboot Win 10 (sur SSD) - LM21.1 MATE (sur HDD)

Hors ligne