forked from gonglei007/GameDevMind
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GL
committed
Feb 5, 2023
1 parent
700c347
commit 91f928a
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
i=150;width=2560;height=2048; \ | ||
convert \ | ||
../exports/0.前言.png \ | ||
\ | ||
../exports/1.基础能力.png \ | ||
../exports/1.1.编程语言.png \ | ||
../exports/1.1.1.编程语言共通概念.png \ | ||
../exports/1.1.2.C++语言.png \ | ||
\ | ||
-compress jpeg \ | ||
-quality 100 \ | ||
-background black \ | ||
-density ${i}x${i} \ | ||
-units PixelsPerInch \ | ||
-resize ${width}x * \ | ||
-gravity center \ | ||
-extent ${width}x * \ | ||
../output/test.pdf |