ajmwagar / ajmwagar/stego

Corrupted RGBA Channels when decoding images.

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Rust
Star
275
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When I try and decode an encoded image from another file something weird happens.

Some of the color channels get swapped.

For example, if I encode `bee.png` into `apple-test.png` and save as `output.png`
I get the following image:

![output](https://user-images.githubusercontent.com/25015651/58997293-d049c480-87b0-11e9-9546-4255ba6903e5.png)

If I decode the resulting image with `stego decode image -i output.png`, I get the following corrupted image:

![corrupted-image](https://user-images.githubusercontent.com/25015651/58997316-ece5fc80-87b0-11e9-946f-420c99775ace.png)

Seems like the Blue and Green color channels are being swapped.

Running the decoding loop in reverse doesn't fix the problem.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.