We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e5cda commit cd9c293Copy full SHA for cd9c293
1 file changed
stego_lsb/StegDetect.py
@@ -33,7 +33,7 @@ def show_lsb(image_path: str, n: int) -> None:
33
34
image_data = cast(Iterable[Tuple[int, int, int]], image.getdata())
35
color_data = [
36
- [255 * ((rgb[0] & mask) + (rgb[1] & mask) + (rgb[2] & mask)) // (3 * mask)] * 3
+ (255 * ((rgb[0] & mask) + (rgb[1] & mask) + (rgb[2] & mask)) // (3 * mask),) * 3
37
for rgb in image_data
38
]
39
0 commit comments