タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

glitchに関するsuperbrothersのブックマーク (1)

  • サケグリッチ

    酒のラベルでグリッチ。幾つか出してみてヨサゲな画像にgimpでポスタリゼーションとトーンカーブかけた。 import base64,re,Image from random import randint def glitch(infile,outfile): jpg_text = base64.encodestring(open(infile,"rb").read()) glitched_text = "" width,height = Image.open(infile).size num = width * height / 10000 for c in jpg_text: if c == '0': if randint(0,num) == 0: count += 1 glitched_text += str(randint(0,9)) else: glitched_text +=

    サケグリッチ
  • 1