add new chinese translations
This commit is contained in:
25
pages.zh/common/img2pdf.md
Normal file
25
pages.zh/common/img2pdf.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# img2pdf
|
||||
|
||||
> 无损地将光栅图像转换为 PDF 文件。
|
||||
> 支持的图像格式包括:GIF、JPEG、JPEG2000、PNG、GIF 和 TIFF。
|
||||
> 更多信息:<https://gitlab.mister-muffin.de/josch/img2pdf>。
|
||||
|
||||
- 将一个或多个图像转换为一个 PDF,每个图像占用一页:
|
||||
|
||||
`img2pdf {{path/to/image1.ext path/to/image2.ext ...}} --output {{path/to/file.pdf}}`
|
||||
|
||||
- 仅将多帧图像的第一帧转换为 PDF:
|
||||
|
||||
`img2pdf {{path/to/file.gif}} --first-frame-only --output {{path/to/file.pdf}}`
|
||||
|
||||
- 自动调整图像方向,使用特定页面大小的横向模式,并设置水平和垂直边距的特定尺寸:
|
||||
|
||||
`img2pdf {{path/to/image.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{path/to/file.pdf}}`
|
||||
|
||||
- 仅将较大的图像缩小到页面内指定尺寸的矩形:
|
||||
|
||||
`img2pdf {{path/to/image.ext}} --pagesize {{30cm}}x{{20cm}} --imgsize {{10cm}}x{{15cm}} --fit {{shrink}} --output {{path/to/file.pdf}}`
|
||||
|
||||
- 将图像转换为 PDF,并为生成的文件指定元数据:
|
||||
|
||||
`img2pdf {{path/to/image.ext}} --title {{title}} --author {{author}} --creationdate {{1970-01-31}} --keywords {{keyword1 keyword2}} --subject {{subject}} --output {{path/to/file.pdf}}`
|
Reference in New Issue
Block a user