CONVERTER IMAGEM JPG PARA PDF

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
josimarmatiasdasilva
Posts: 4
Joined: 2020-03-17T12:59:49-07:00
Authentication code: 1152

CONVERTER IMAGEM JPG PARA PDF

Post by josimarmatiasdasilva »

Boa tarde prezados,

Antecipadamente, quero agradecer a tenção de todos que venham ajudar.

Estou tentando via cmd, converter arquivos jpg para pdf (São de 2 a 3 arquivos para converter um único PDF). já conseguir realizar via CMD através deste comando "mogrify -format pdf *.jpG", o problema é tenho 600 pastas e subpastas para realizar a conversão!, existe alguma maneira para executar o comando, ler todas as pastas e subpasta, para realizar a conversão do JPG de cada pasta e converte em um único pdf?

Mais umavez, venho agradecer toda a atenção.

User avatar
fmw42
Posts: 26269
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: CONVERTER IMAGEM JPG PARA PDF

Post by fmw42 »

You will have to write a script to traverse you directory tree and process each directory and subdirectory separately. ImageMagick does not traverse directories to process more than one directory at a time.

josimarmatiasdasilva
Posts: 4
Joined: 2020-03-17T12:59:49-07:00
Authentication code: 1152

Re: CONVERTER IMAGEM JPG PARA PDF

Post by josimarmatiasdasilva »

Mas, existe alguma possibilidade do DOS, realizar essa atividade com o comando do ImageMagick?

User avatar
fmw42
Posts: 26269
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: CONVERTER IMAGEM JPG PARA PDF

Post by fmw42 »

Yes, DOS OS .bat scripting can do that. Sorry, I am not a Windows user, so cannot help doing that. And it is outside the scope of ImageMagick. Perhaps some Windows ImageMagick user might be able help you further.

snibgo
Posts: 12904
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: CONVERTER IMAGEM JPG PARA PDF

Post by snibgo »

Sorry, I can't read Spanish.

But the answer may be to use a "for" loop.
snibgo's IM pages: im.snibgo.com

josimarmatiasdasilva
Posts: 4
Joined: 2020-03-17T12:59:49-07:00
Authentication code: 1152

Re: CONVERTER IMAGEM JPG PARA PDF

Post by josimarmatiasdasilva »

@snibgo

Bom dia.

the problem is that i'm an end user, i don't know how to program to make loupes, and my deadline is reaching the end of delivery. already set with the rope around his neck

Post Reply