chg: [RELEASE] Updated documentation, updated dependencies, and bumped version number.
Some checks failed
Python application / build (3.10) (push) Has been cancelled
Python application / build (3.11) (push) Has been cancelled
Python application / build (3.12) (push) Has been cancelled

This commit is contained in:
Cédric Bonhomme 2025-04-26 23:28:17 +02:00
parent ac66655ad8
commit 7ba387ecdc
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
6 changed files with 117 additions and 108 deletions

View file

@ -34,7 +34,10 @@ def steganalyse(img: Image.Image) -> Image.Image:
width, height = img.size
for row in range(height):
for col in range(width):
r, g, b = img.getpixel((col, row))[0:3]
if pixel := img.getpixel((col, row)):
r, g, b = pixel[0:3]
else:
raise Exception("Error during steganlysis.")
if r % 2 == 0:
r = 0
else: