Research
This commit is contained in:
parent
28cbbe3470
commit
a9153546ae
56 changed files with 6731 additions and 258 deletions
8
tools/create_focused_crop.py
Normal file
8
tools/create_focused_crop.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from PIL import Image
|
||||
IN = r"K:\ghidra\Crusader_Decomp\binary\vram_weapons.png"
|
||||
OUT = r"K:\ghidra\Crusader_Decomp\binary\crop_weapon_row.png"
|
||||
box = (80,44,360,92)
|
||||
img = Image.open(IN)
|
||||
crop = img.crop(box)
|
||||
crop.save(OUT)
|
||||
print('wrote', OUT)
|
||||
Loading…
Add table
Add a link
Reference in a new issue