1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ImageMagick を使って画像の自動傾き補正をしてみたかった適当記録

Last updated at Posted at 2015-09-13

とりあえず傾いている画像をどうにかしたかった。
少し調べてこんなのでできるみたい。

convert.exe -deskew 40% in.jpg out.jpg

ファイルを置き換える変換コマンド。

mogrify.exe -deskew 40% *.jpg

補正して追加された部分の色は白になるので、背景色相当で埋めてもらえないだろうか?
どうしても画質の劣化があるので、もう少しどうにかできないかな。

そのほか調整の参考になりそうなところ

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?