Upload
yuto-maeda
View
359
Download
2
Embed Size (px)
Citation preview
ソースコード(Python)
white128 = open('white128.jpg', 'rb').read()
!
for x in range(len(white128)):
sample = list(white128)
sample[x] = '\x00'
open('white128/%d.jpg' % x, 'wb').write(''.join(sample))
実験2• 青グラデーションのJPEGファイルを用意 • 1256バイト(128x128 圧縮率70%) • ファイルのある1バイトを 0x00 に置き換える • 1256バイト全部に対して置き換えを行う