LoginSignup
8
6

More than 5 years have passed since last update.

sed でグリッチ画像を作成する

Last updated at Posted at 2013-02-26

よく知られている通り、JPEG フォーマットの画像は比較的堅牢で、多少壊れたデータでも一般的なビュワーで表示することができます。
その性質を利用して sed コマンドを使って簡単にグリッチ画像を作成する方法を紹介します。

terminal
$ sed "s/x/y/g" original.jpg > glitch.jpg

以下は上記のコマンドを適用した例です。上の画像を下の画像に変換することができました。


簡単ですね。

8
6
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
8
6