https://github.com/treetips/alpine-imagemagick-mogrify-example
alpineベースのImageMagickで画像を一括変換するサンプル
https://github.com/treetips/alpine-imagemagick-mogrify-example
alpine docker imagemagick
Last synced: 23 days ago
JSON representation
alpineベースのImageMagickで画像を一括変換するサンプル
- Host: GitHub
- URL: https://github.com/treetips/alpine-imagemagick-mogrify-example
- Owner: treetips
- Created: 2017-02-21T12:16:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T16:36:35.000Z (over 9 years ago)
- Last Synced: 2025-08-31T19:40:45.870Z (11 months ago)
- Topics: alpine, docker, imagemagick
- Language: Shell
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ImageMagickで並列に画像変換する
====
dockerを利用した画像変換サンプルです。
## Description
alpine linuxをベースにImageMagickをインストールしたdockerイメージを作成し、ImageMagickで並列に画像変換を行うサンプルプロジェクトです。
## Requirement
- docker v1.13.1
## Install
dockerをインストールして下さい。
https://docs.docker.com/docker-for-windows/
https://docs.docker.com/docker-for-mac/
## Usage
```bash
# macの場合はdockerのvolumeが動作するディレクトリが限られているので/tmpで作業する
cd /tmp
# cloneする
git clone https://github.com/treetips/alpine-imagemagick-mogrify-example.git
cd alpine-imagemagick-mogrify-example
# 実行権限を付与する
find . -type f -name "*.sh" | xargs chmod +x
# 画像変換を試すためのダミー画像を生成する
./prepare.sh
# 並列に画像変換する
./convert.sh
```
## Licence
[MIT](https://github.com/tcnksm/tool/blob/master/LICENCE)
## Author
[tcnksm](https://github.com/tcnksm)