Git Product home page Git Product logo

steganography-png-decoder's Introduction

Stand With Ukraine

steganography-png-decoder's People

Contributors

marioallves avatar s373r avatar vuoriliikaluoma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

steganography-png-decoder's Issues

Add decoding for "zTXt" chunks

Stored information takes advantage of compression. Decompression is needed before print.

4.2.3.2. zTXt Compressed textual data
+--------------------+-------------------------------+
| Keyword:           | 1-79 bytes (character string) |
| Null separator     | 1 byte                        |
| Compression method | 1 byte                        |
| Compressed text    | n bytes                       |
+--------------------+-------------------------------+
(c) http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html

Add beautiful print for "iTXt" chunk subfields

At the moment the script just replaces "Null separator" (\x00) to space (' ').

But the chunk has more interesting information:

+--------------------+------------------------------------+
| Keyword            | 1-79 bytes (character string)      |
| Null separator     | 1 byte                             |
| Compression flag   | 1 byte                             |
| Compression method | 1 byte                             |
| Language tag       | 0 or more bytes (character string) |
| Null separator     | 1 byte                             |
| Translated keyword | 0 or more bytes                    |
| Null separator     | 1 byte                             |
| Text               | 0 or more bytes                    |
+--------------------+------------------------------------+

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.