Skip to content

Corrupted RGBA Channels when decoding images. #5

@ajmwagar

Description

@ajmwagar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions