0
我會知道命令pdfinfo -box
和gs -sDevice=bbox
以外的BoundingBox信息之間的區別。Ghostscript BoundingBox pdfinfo -box vs gs -sDevice = bbox
pdfinfo -box
輸出:
$pdfinfo -box tempCmykPdfFile.pdf
Producer: GPL Ghostscript 9.20
CreationDate: Tue Mar 7 09:48:56 2017
ModDate: Tue Mar 7 09:48:56 2017
Tagged: no
Pages: 1
Encrypted: no
Page size: 212.6 x 113.39 pts
MediaBox: 0.00 0.00 212.60 113.39
CropBox: 0.00 0.00 212.60 113.39
BleedBox: 0.00 0.00 212.60 113.39
TrimBox: 0.00 0.00 212.60 113.39
ArtBox: 0.00 0.00 212.60 113.39
File size: 20886 bytes
Optimized: no
PDF version: 1.5
雖然gs -sDevice=bbox
輸出:
$gs -sDevice=bbox tempCmykPdfFile.pdf
GPL Ghostscript 9.20 (2016-09-26)
Copyright (C) 2016 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 13 48 199 100
%%HiResBoundingBox: 13.986000 48.181006 198.435017 99.220989
BoundingBox
信息是在兩個不同的情況下,我沒有找出why
。任何人都可以幫助我理解這種差異。
感謝。