画像の生成
encfixture image -o test.png# 青色の画像encfixture image -c blue -o blue.png
# カラーバーのテストパターンencfixture image -b test -o colorbar.png
# 全位置にオーバーレイを配置encfixture image --tl frame --tr timecode --bl filename --br "ID-001" --center "TEST" -o info.png
# 解像度を指定encfixture image -W 3840 -H 2160 -c white -o 4k.png
# 16進カラーコードで色を指定encfixture image -c "#ff6600" -o orange.png
# カラーバー + テキストオーバーレイencfixture image -b test --center "SAMPLE" -o test_with_text.png
# JPEG 出力(品質指定)encfixture image -c blue --center "SAMPLE" -q 75 -o sample.jpg| フラグ | 短縮 | デフォルト | 説明 |
|---|---|---|---|
--width |
-W |
1920 | 画像の幅(px) |
--height |
-H |
1080 | 画像の高さ(px) |
--bg |
-b |
solid | 背景タイプ: solid, test, gradient, moving |
--color |
-c |
black | 背景色(名前または #hex) |
--tl |
左上に表示する内容 | ||
--tr |
右上に表示する内容 | ||
--center |
中央に表示する内容 | ||
--bl |
左下に表示する内容 | ||
--br |
右下に表示する内容 | ||
--scale |
-S |
4 | テキストの拡大率 |
--output |
-o |
output.png | 出力ファイルパス(.png, .jpg, .jpeg) |
--quality |
-q |
90 | JPEG 品質 1-100(.jpg/.jpeg 出力時) |
--no-clobber |
既存の出力ファイルがある場合は上書きせずエラーにする |
出力フォーマット
Section titled “出力フォーマット”エンコーダは拡張子から決まります。.png は PNG、.jpg / .jpeg は JPEG で出力されます。それ以外の拡張子はエラーになります。