我有一个两页的PDF文件,想要将其转换为PNG格式。当我运行以下命令时:
gs -sDevice=pngalpha -o=gs-output-%d.png -r400 test1-0.pdf
我得到:
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 2.
Page 1
%%BoundingBox: 35 35 577 757
%%HiResBoundingBox: 35.910001 35.910001 576.090022 756.090029
Page 2
%%BoundingBox: 35 35 577 757
%%HiResBoundingBox: 35.910001 35.910001 576.090022 756.090029
然后...什么都没有。完全没有输出文件。我做错了什么?