Skip to content

Instantly share code, notes, and snippets.

View Kelbie's full-sized avatar

Kelbie Kelbie

View GitHub Profile
@Kelbie
Kelbie / blocktoimg.py
Created July 29, 2018 03:25 — forked from laanwj/blocktoimg.py
simple tools to write (block) data to png files
#!/usr/bin/env python3
# Distributed under the MIT software license
import binascii, struct, sys
from PIL import Image
def div_roundup(x,y):
return (x+y-1)//y
f = open(sys.argv[1], 'r')
outfilename = sys.argv[2]
### Keybase proof
I hereby claim:
* I am kevinkelbie on github.
* I am kelbie (https://keybase.io/kelbie) on keybase.
* I have a public key ASDGNLgHWRfCNpwq35KrwgTfVRQsNrZIad3OZwTD_I6F6Qo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am kevinkelbie on github.
* I am kelbie (https://keybase.io/kelbie) on keybase.
* I have a public key ASDGNLgHWRfCNpwq35KrwgTfVRQsNrZIad3OZwTD_I6F6Qo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am kevinkelbie on github.
* I am kelbie (https://keybase.io/kelbie) on keybase.
* I have a public key ASDGNLgHWRfCNpwq35KrwgTfVRQsNrZIad3OZwTD_I6F6Qo
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1LaLHFEFQYyWSzCgm9b5QZTUK67U6TC14k https://explorer.blockstack.org/address/1LaLHFEFQYyWSzCgm9b5QZTUK67U6TC14k