Г. Ейск, улица Армавирская, дом 45, этаж II, кабинет № 221
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:pdf [2023/10/15 23:28] – serw | wiki:pdf [2024/10/22 13:42] (current) – serw | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[wiki: | [[wiki: | ||
+ | |||
+ | Страница на моем веб-сайте полиграфии «Ея»: [[https:// | ||
===== Convert a directory of JPEG files to a single PDF document ===== | ===== Convert a directory of JPEG files to a single PDF document ===== | ||
Line 8: | Line 10: | ||
convert *.jpg -auto-orient imagemagick.pdf | convert *.jpg -auto-orient imagemagick.pdf | ||
</ | </ | ||
+ | |||
+ | img2pdf - lossless conversion of raster images to pdf | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | img2pdf --output out.pdf page1.jpg page2.jpg # https:// | ||
+ | img2pdf --output Untitled.pdf *.jpeg # https:// | ||
+ | img2pdf img1.tif --pagesize 107mmx150mm --imgsize 107mmx150mm --fit shrink --output file1.pdf # | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Наиболее часто встречается: | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | img2pdf --output Untitled.pdf *.jpg # https:// | ||
+ | </ | ||
+ | </ | ||
[[https:// | [[https:// | ||
+ | |||
+ | Создание ПДФ из директории JPG и последующее OCR. | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | img2pdf --output Untitled.pdf *.jpg && ocrmypdf -l eng+rus Untitled.pdf 'SerW - OCRmyPDF.pdf' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Extracting embedded images from a PDF ===== | ||
+ | |||
+ | < | ||
+ | pdfimages -all in.pdf /tmp/out # sudo pacman -S poppler | ||
+ | </ | ||
+ | |||
+ | Source: [[https:// | ||
===== 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 ===== |