LoginSignup
4
4

More than 5 years have passed since last update.

めざせpythonライブラリマスター (4)Ascii Py

Last updated at Posted at 2016-05-31

【ライブラリ説明】

 アスキーコードで絵が描けます。

【準備】

 python 3.3 より上のバージョンを使います。

【プログラム】

 ascii_py [options] で実行できます。
 私は ascii_py -d imoyokan.jpg で実行しました。

 Options:
  -h, --help
   ヘルプメッセージ表示
  -o FILENAME, --out=FILENAME
   保存するファイル名?(私の環境では保存できなかった)
  -w WORDS, --words=WORDS
   使用する文字(私の環境では指定できなかった)
  -s STEP, --step=STEP
   よく分からん
  -d, --density
   out.jpgという名前で出力保存
  -t, --terminal
   ターミナルに表示

【結果】

 before
imoyokan.jpg
 after
out.jpg

【感想】

 ソースコードが気になる!

【参考サイト】

 ascii_py_gui
 github

4
4
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
4
4