Comments (3)
PNG technical details
The png Module
from steganographerpy.
When saving with PIL it is changing the data that is in the file after the message is added, causing the message to be lost. Need to save the file with PIL first with no changed. Open the file again so it is now in a format that PIL won't radically change. Add the message and save it out as normal.
The problem is if you open a file with PIL and save it back out with no changes it is still a different file because PIL created it. But if PIL made the file first and then opens and saves with no changes, it is the same file. There needs to be a one to one connection between opening and saving or the bit manipulation to hide a message will be lost.
from steganographerpy.
Images are now correctly handled. The only issue is that the files are not identical with some slight bit changes only. This is because the files are opened and then saved by PIL. PIL doesn't respect what the file originally had, unless the original file was already created by PIL.
from steganographerpy.
Related Issues (20)
- Clean up files being opened and closed HOT 1
- Add File name to header HOT 3
- Test coverage back up to 100% HOT 2
- Code quality back up to 100% HOT 1
- Add headerless mode
- Simplify main HOT 1
- Update docstrings in tests HOT 2
- Tests accessing same file causing intermitent failures HOT 1
- Use vulture to detect unused code
- No way to check version HOT 3
- Clear up all landscape errors HOT 3
- Add steganographer file inverse
- Make the header class private
- Remove unnecessary sections from documentation
- Fix failing build
- Add github project page
- Add custom exceptions
- Add gooey user interface
- Ability to hide file among multiple images
- Add VSCode Online Setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steganographerpy.