2016-01-22 38 views

回答

2

您可以編寫一個簡單的shell腳本,將圖像集轉換爲pdf:How can I convert a series of images to a PDF from the command line on linux?併爲1,2,3,...,在特定目錄中的所有圖像文件。

創建包含單個圖像拷貝的目錄應該也很簡單,從一個具有所需大小的圖像文件開始,例如, 64KB。

# pseudocode - don't test it 
END=5 
for i in {1..$END}; do cp ./image ./image_$i; done 
for i in {1..$END}; do convert ./image_{1..$i} mydoc_$i.pdf; done 
相關問題