#!/usr/bin/env python3 """png2ico.py : um .ico com o PNG dentro (Vista+).""" import struct, sys png = open(sys.argv[1], "rb").read() w, h = struct.unpack(">II", png[16:24]) entry = struct.pack("