← 返回命令列表

Linux command

pstoedit 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

pstoedit -page [1] -f magick [file.pdf] [output.png]

Example

pstoedit -f magick [file.pdf] [page%d.png]

说明

pstoedit translates PostScript and PDF files to various vector and bitmap formats. It uses format-specific drivers to produce output suitable for different applications. The tool can convert to formats like SVG, DXF, and through ImageMagick to raster formats. It's useful for extracting graphics from PDF documents.

参数

-page _num_
Page number to convert (1-based)
-f _format_
Output format driver
-dt
Draw text as polygons
-adt
Approximate curves with lines
-flat _value_
Flatness for curve approximation

FAQ

What is the pstoedit command used for?

pstoedit translates PostScript and PDF files to various vector and bitmap formats. It uses format-specific drivers to produce output suitable for different applications. The tool can convert to formats like SVG, DXF, and through ImageMagick to raster formats. It's useful for extracting graphics from PDF documents.

How do I run a basic pstoedit example?

Run `pstoedit -page [1] -f magick [file.pdf] [output.png]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -page _num_ do in pstoedit?

Page number to convert (1-based)