Skip to content

Instantly share code, notes, and snippets.

View adithya-badidey's full-sized avatar

Adithya Badidey adithya-badidey

View GitHub Profile
@adithya-badidey
adithya-badidey / aggdraw-wrapper.py
Created July 12, 2022 00:02
A simple wrapper for aggdraw utils.
from PIL import Image, ImageDraw
import aggdraw
class Drawing:
def __init__(self, image):
self.d = aggdraw.Draw(image)
self.img_height = image.height
self.img_width = image.width
def transform(self, arr):
@karmadude
karmadude / README.md
Last active April 2, 2024 01:41
India Map TopoJSON Files

India Map Data