最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

使用ghostscript將PDF轉(zhuǎn)為png圖片

2022-06-23 16:21 作者:梅狄威爾  | 我要投稿

gs -dSAFER -dBATCH -dNOPAUSE -r300 -sDEVICE=png16m -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=%03d.png run3_0_HA1.pdf

參數(shù)說(shuō)明:

-dSAFER:Enables access controls on files.

-dBATCH:Causes Ghostscript to exit after processing all files named on the command line, rather than going into an interactive loop reading PostScript commands.

-dNOPAUSE:Disables the prompt and pause at the end of each page.?

-r300:Select the resolution on ?printer; Control??the density of pixels when rasterizing to an image file. 300→300 dpi

-sDEVICE: Selects which output device Ghostscript should use. Check:?https://ghostscript.com/doc/current/Devices.htm

-dTextAlphaBits and -dGraphicsAlphaBits:?These options control the use of subsample antialiasing. Their use is highly recommended for producing high quality rasterizations. The subsampling box size?n?should be 4 for optimum output, but smaller values can be used for faster rendering. Antialiasing is enabled separately for text and graphics content. Allowed values are 1, 2 or 4.

-sOutputFile: Selects an alternate output file (or pipe) for the initial output device.?

Examples:

-sOutputFile=ABC-%d.png

produces 'ABC-1.png', ... , 'ABC-10.png', ..

-sOutputFile=ABC-%03d.pgm

produces 'ABC-001.pgm', ... , 'ABC-010.pgm', ...

-sOutputFile=ABC_p%04d.tiff

produces 'ABC_p0001.tiff', ... , 'ABC_p0510.tiff', ... , 'ABC_p5238.tiff'

When using MS Windows console (command.com or cmd.exe), you will have to double the?%?character since the?%?is used by that shell to prefix variables for substitution

(run3_0_HA1.pdf): Input file name


參考資料:https://ghostscript.com/doc/current/Use.htm

使用ghostscript將PDF轉(zhuǎn)為png圖片的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
司法| 芦山县| 神农架林区| 舞钢市| 客服| 静安区| 清徐县| 泸溪县| 湖南省| 连州市| 南京市| 利津县| 理塘县| 昆山市| 临江市| 衡水市| 黎川县| 馆陶县| 苍山县| 开阳县| 新疆| 武隆县| 丹阳市| 股票| 玉林市| 丽江市| 临海市| 江达县| 荣成市| 竹北市| 绩溪县| 麻江县| 香格里拉县| 安乡县| 山阳县| 沈阳市| 漯河市| 六盘水市| 乌拉特后旗| 新田县| 凤庆县|