pdfcrop에서, bp(단위)와 clip 기능이 무엇인가요?
PDFCROP 1.5, 2004/06/24 - Copyright (c) 2002, 2004 by Heiko Oberdiek.
Syntax: pdfcrop [options] [output file]
Function: Margins are calculated and removed for each page in the file.
Options: (defaults:)
--help print usage
--(no)verbose verbose printing (false)
--(no)debug debug informations (false)
--gscmd call of ghostscript (gs)
--pdftexcmd call of pdfTeX (pdftex)
--margins " " (0 0 0 0)
add extra margins, unit is bp. If only one number is
given, then it is used for all margins, in the case
of two numbers they are also used for right and bottom.
--(no)clip clipping support, if margins are set (false)
--(no)hires using `%%HiResBoundingBox' (false)
instead of `%%BoundingBox'
--papersize parameter for gs's -sPAPERSIZE=,
use only with older gs versions <7.32 ()
Examples:
pdfcrop --margins 10 input.pdf output.pdf
pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf
bp를 찾아보는데 분자에서 거리 단위로 나오는군요;
그리고 clip은 무엇인가요?
--clip을 주시면
--clip을 주시면 왼쪽/상단/오른쪽/하단의 (bp사이즈) 여백만큼 띄워놓고, 기존의 여백이 있으면 그걸 다 잘라버립니다.
margin의 기본값이 0 0 0 0 (왼/상/오/하) 상태에서, --clip을 주시면 PDF내 페이지의 여백이 몽땅 날아갑니다.
bp는 ... PDFLib 매뉴얼에도 없군요. 픽셀단위인것 같기도 한데.... 애매하네요. :)
----
It's Friday I want to play,
on Saturday don't want to stay, at home
thinking of you
so let me party all night long.
from m-flo, Come again lyrics
http://luna.onionmixer.net
댓글 달기