Продажа и починка ПЭВМ и телефонов

Г. Ейск, улица Армавирская, дом 45, этаж II, кабинет № 221

Site Tools


wiki:pdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:pdf [2023/10/10 11:17] serwwiki:pdf [2024/04/09 12:01] (current) serw
Line 2: Line 2:
  
 [[wiki:pdfjam|The pdfjam package for manipulating PDF files]]. [[wiki:pdfjam|The pdfjam package for manipulating PDF files]].
 +
 +Страница на моем веб-сайте полиграфии «Ея»: [[https://yeya.ru/wiki:imagemagick|ImageMagick]] Daily Usage.
  
 ===== Convert a directory of JPEG files to a single PDF document ===== ===== Convert a directory of JPEG files to a single PDF document =====
Line 7: Line 9:
 <code=bash> <code=bash>
 convert *.jpg -auto-orient imagemagick.pdf convert *.jpg -auto-orient imagemagick.pdf
 +</code>
 +
 +img2pdf - lossless conversion of raster images to pdf
 +
 +<code=bash>
 +img2pdf --output out.pdf page1.jpg page2.jpg # https://manpages.debian.org/bookworm/img2pdf/img2pdf.1.en.html#EXAMPLES
 +img2pdf --output out.pdf *.jpg # https://dragonserw.ru/wiki:pdf
 +img2pdf --output out.pdf *.jpeg # https://dragonserw.ru/wiki:pdf
 </code> </code>
  
 [[https://askubuntu.com/a/246653|AskUbuntu]]. [[https://askubuntu.com/a/246653|AskUbuntu]].
 +
 +===== Extracting embedded images from a PDF =====
 +
 +<code=bash>
 +pdfimages -all in.pdf /tmp/out # sudo pacman -S poppler
 +</code>
 +
 +Source: [[https://askubuntu.com/questions/150100/extracting-embedded-images-from-a-pdf|AskUbuntu]].
  
 ===== Replace all font glyphs in a PDF by converting them to outline shapes ===== ===== Replace all font glyphs in a PDF by converting them to outline shapes =====
Line 18: Line 36:
 brew install ghostscript brew install ghostscript
 alias gsu = 'gs -o Untitled-with-outlines.pdf -dNoOutputFonts -sDEVICE=pdfwrite Untitled.pdf' alias gsu = 'gs -o Untitled-with-outlines.pdf -dNoOutputFonts -sDEVICE=pdfwrite Untitled.pdf'
-gs -o Untitled-with-outlines.pdf -dNoOutputFonts -sDEVICE=pdfwrite Untitled.pdf+gs -o Untitled_with-outlines.pdf -dNoOutputFonts -sDEVICE=pdfwrite Untitled.pdf
 </code> </code>
  
Line 48: Line 66:
  
 ===== ocrmypdf.readthedocs.io ===== ===== ocrmypdf.readthedocs.io =====
 +
 +Оптическое распознавание английского и русского машинописного текста в отсканированных .pdf-документах. 
  
 <code=bash> <code=bash>
wiki/pdf.1696925879.txt.gz · Last modified: 2023/10/10 11:17 by serw