Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted RGBA Channels when decoding images. #5

Open
ajmwagar opened this issue Jun 5, 2019 · 0 comments
Open

Corrupted RGBA Channels when decoding images. #5

ajmwagar opened this issue Jun 5, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ajmwagar
Copy link
Owner

ajmwagar commented Jun 5, 2019

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

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

corrupted-image

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

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

@ajmwagar ajmwagar added the bug Something isn't working label Jun 5, 2019
@ajmwagar ajmwagar added this to the 0.5 milestone Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant