Skip to content

Il sito di Ivan Piffer

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size    Default color brown color green color red color blue color
You are here: HOME arrow Informatica arrow Articoli interessanti arrow Creare un pdf da tante scansioni in Linux
Skip to content
Creare un pdf da tante scansioni in Linux PDF Stampa E-mail
Valutazione utente: / 2
ScarsoOttimo 
Scritto da Ivan Piffer   
lunedì 15 ottobre 2007
From multiple jpg
 to 1
jpg

Questa mattina ho avuto un'esigenza non cosi' particolare... creare un pdf che contenesse tutti i jpg di una cartella.

Ho fatto una ricerca in Google ed ecco cosa ne e' uscito:

FONTE : http://linuxuser32.wordpress.com/2007/06/16/batch-image-convert-scale-thumbnail-jpegs-pdf/ 

ImageMagick

(Linux/Windows) includes mogrify which allows us to scale and convert image files in batch mode from the command line. It provides a huge number of options but you only need a few examples to start making use of it…

Creates thumbnail images using all the jpg files in the current directory:

 
mogrify -compress JPEG -quality 80 +profile *.jpg
 

Re-size all the jpg files in the current directory:

 
mogrify -sample 800x1200 *.jpg
 

Create a PDF document using all the jpg files in the current directory:

 
convert *jpg allinone.pdf
 

Convert all tif images to jpgs:

 
<span>mogrify -format jpg -quality 50 *.tif</span>
 

Scale all jpgs in the current directory by 50%:

 
mogrify -scale 50% *.jpg
 

If you need further examples, just search Google!

 

Commenti
Nuovo Cerca RSS
Commenta
Nome:
Email:
 
Website:
Titolo:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."


Ultimo aggiornamento ( venerdì 16 gennaio 2009 )
 
< Prec.   Pros. >