Skip to content

Commit 21c3e96

Browse files
committed
Fixed issue with slice_rgb_bit_planes steganalysis function
1 parent 3ef6878 commit 21c3e96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "Stegastatter"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
description = "A steganography engine"
55
authors = [
66
{name = "Jebbex1"}

stegastatter/steganalysis/bit_plane_slicing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ def slice_rgb_bit_planes(image_bytes: bytes) -> Generator[tuple[str, bytes], Any
3636
bitplane_slice.putpixel((x, y), 1)
3737

3838
image_bytes_io = io.BytesIO()
39-
bitplane_slice.save(image_bytes, format="PNG")
39+
bitplane_slice.save(image_bytes_io, format="PNG")
4040
yield slice_name, image_bytes_io.getvalue()

0 commit comments

Comments
 (0)