mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-24 06:56:59 +00:00
Slightly improve x shift
This commit is contained in:
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
@@ -217,7 +217,7 @@ im = Image.open("assembled_image.png")
|
|||||||
|
|
||||||
xsize, ysize = im.size
|
xsize, ysize = im.size
|
||||||
|
|
||||||
delta = 300 # amount to move x-axis
|
delta = 275 # amount to move x-axis
|
||||||
|
|
||||||
part1 = im.crop((0, 0, delta, ysize)) # take left part
|
part1 = im.crop((0, 0, delta, ysize)) # take left part
|
||||||
part2 = im.crop((delta, 0, xsize, ysize)) # take right part
|
part2 = im.crop((delta, 0, xsize, ysize)) # take right part
|
||||||
|
|||||||
Reference in New Issue
Block a user