国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(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ó)家法律
慈利县| 织金县| 黎川县| 普宁市| 陆丰市| 东乌珠穆沁旗| 新河县| 高要市| 都安| 治县。| 邹城市| 阳信县| 金沙县| 聂荣县| 耿马| 华池县| 勃利县| 突泉县| 桦甸市| 海晏县| 旬阳县| 凌云县| 兴安县| 铜山县| 龙江县| 林周县| 福州市| 长阳| 石棉县| 乐陵市| 当雄县| 江油市| 韶山市| 宣威市| 枣强县| 宁夏| 临夏市| 陆丰市| 孟州市| 交口县| 宜兴市|