domingo, 20 de octubre de 2013

Reducir tamaño de un PDF

Para reducir tamaño de un PDF, instalamos Ghotscript y Gsfonts.
sudo apt-get install ghostscript gsfonts

Ahora le damos la siguiente orden:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=PDF-salida-REDUCIDO.pdf PDF-entrada-ORIGINAL.pdf

Convertir un archivo tiff a pdf

Para convertir in archivo tiff (Tagged Image File Format) a formato pdf, usaremos tiff2pdf
Para instalar tiff2pdf escribimos en la terminal la siguiente orden:
sudo apt-get install ghostscript libtiff-tools
Ahora si queremos convertir un tiff a pdf daremos esta orden:
tiff2pdf -o salida.pdf entrada.tiff

Más info y opciones: MANPAGE de tiff2pdf