INNER CODE UNIT · Python
image_info
McDevon/taxman-engine · Scripts/generate_sprite_sheet.py:45
def image_info(path):
width, height, values, alphas = image_data(path)
out_has_alpha = False
out_has_shades = False
offset_x = width
offset_y = height
last_x = 0
last_y = 0
if alphas is None:
offset_x = 0
offset_y = 0
last_x = width
last_y = height
for y in range(0, height):
for x in range(0, width):