App/ImageMagick
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#b3b24650]
#contents();
/////////////////////////////////////////////////////////...
* display [#j2058fc4]
/////////////////////////////////////////////////////////...
* tips [#c8cfb155]
** 画像ファイルとサムネイルから画像一覧のHTMLページを作る...
//=======================================================...
** exif 情報を元に自動で本来の向きに回転させる [#ldd523b9]
$ convert ${in_file} -auto-orient ${out_file}
- in_file と out_file には同じファイル名を指定して大丈夫...
- マルチスレッドで大量のファイルを変更する場合、xargs を...
$ find . -type f -name '*.jpg' | xargs -P ${thread_num} ...
-- 一番最後の "@" は出力ファイルの指定。このままだと同じ...
//=======================================================...
** 画像の回転 [#w20d9a18]
$ convert <in-file> -rotate <degree-to-rotate> <out-file>
|~option |~description |~remark |
|<degree-to-rotate> |回転度数を degree で指定する。+は時...
//=======================================================...
** 画像の切り抜き [#a3610fe9]
$ convert <in-file> -crop <width>x<height>+<X>+<Y> <out-...
|~option |~description |~remark |
|<width> |切り抜き後の画像幅 | |
|<height> |切り抜き後の画像高さ | |
|<X> |切り抜く基準座標X |省略した場合は 0 になる |
|<Y> |切り抜く基準座標Y |省略した場合は 0 になる |
終了行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#b3b24650]
#contents();
/////////////////////////////////////////////////////////...
* display [#j2058fc4]
/////////////////////////////////////////////////////////...
* tips [#c8cfb155]
** 画像ファイルとサムネイルから画像一覧のHTMLページを作る...
//=======================================================...
** exif 情報を元に自動で本来の向きに回転させる [#ldd523b9]
$ convert ${in_file} -auto-orient ${out_file}
- in_file と out_file には同じファイル名を指定して大丈夫...
- マルチスレッドで大量のファイルを変更する場合、xargs を...
$ find . -type f -name '*.jpg' | xargs -P ${thread_num} ...
-- 一番最後の "@" は出力ファイルの指定。このままだと同じ...
//=======================================================...
** 画像の回転 [#w20d9a18]
$ convert <in-file> -rotate <degree-to-rotate> <out-file>
|~option |~description |~remark |
|<degree-to-rotate> |回転度数を degree で指定する。+は時...
//=======================================================...
** 画像の切り抜き [#a3610fe9]
$ convert <in-file> -crop <width>x<height>+<X>+<Y> <out-...
|~option |~description |~remark |
|<width> |切り抜き後の画像幅 | |
|<height> |切り抜き後の画像高さ | |
|<X> |切り抜く基準座標X |省略した場合は 0 になる |
|<Y> |切り抜く基準座標Y |省略した場合は 0 になる |
ページ名: