ajmwagar / ajmwagar/stego

Corrupted RGBA Channels when decoding images.

Aberta
#5 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Rust
Estrelas
275
Forks
16
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.