Skip to content

Commit 181fbba

Browse files
committedFeb 29, 2024
Update image width in extract_pixels_enhanced.py
1 parent 0f5e9ca commit 181fbba

File tree

2 files changed

+152
-18
lines changed

2 files changed

+152
-18
lines changed
 

‎pixel_art_builder/extract_pixels_enhanced.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
# Define the path to the image file
1414
# Here I saved teh image to my local drive.
15-
path = r'C:\Users\juedwards\Downloads\full_steam.png'
15+
path = r'C:\Users\juedwards\Downloads\copilot.png'
1616

1717
# Set the width of the output image in blocks, y is calculated from the aspect ration of the original image.
18-
x = 25
18+
x = 90
1919

2020
# Open the image and calculate the aspect ratio
2121
image = Image.open(path)

0 commit comments

Comments
 (0)