Skip to content

Instantly share code, notes, and snippets.

Avatar
🖕
brb

Kiyomasa Sato pullingour

🖕
brb
View GitHub Profile
@pullingour
pullingour / primg.sh
Created Dec 11, 2017
プリパラキャプチャ変換スクリプト
View primg.sh
#!/bin/bash
timestamp=$(date +%s)
mkdir $HOME/Desktop/test/$timestamp
mv $HOME/Desktop/*.png $HOME/Desktop/test/$timestamp
cd $HOME/Desktop/test/$timestamp
IFS_bak=$IFS
IFS=$'\n'
View PriParaArcadeEncodeSetting.sh
#!/bin/bash
timestamp=$(date +%s)
cd $HOME/Desktop
<< SETTINGS
====================================================================================================
-c:v libx264 : エンコーダー指定
-b:v : ビットレート指定、2M ~ 15M
View ImageMagick_setting.md

example 01:

convert hoge.JPG -resize 800x +contrast +contrast -modulate 110 -modulate 100,90 hoge.jpg

example 02:

convert hoge.JPG -strip -resize 800x -quality 70 hoge.jpg

a

  • -resize (width)x
  • +contrast
You can’t perform that action at this time.