Hidden Data in Images: What Happens When You Compress? πΌοΈ
Discover the effects of hiding messages in PNG images and how compression impacts your hidden data. Watch my recent project and learn the secrets behind steganography and image compression!

Edwin Wagha
29 views β’ Nov 7, 2025

About this video
A few weeks back I did a project of hiding messages in a PNG image [https://youtu.be/R7MefU_tl10?si=nutbine4tC0WgJG_] but a user suggested it was kinda fragile, and I should check out the DCT method for hiding data in a way that can survive compression. I was intrigued, and that idea became the basis for this project.
The technique is a hybrid approach: it uses a JPEG data-hiding method on the contents of a PNG, then saves the modified result back into the lossless PNG format. This setup allowed me to test if the hidden message would survive being re-compressed laterβand the results were surprising!
The math and logic behind this technique were genuinely challenging, but it was a fascinating challenge, so I've done my best to interpret it correctly. That being said, I'm always learning! If you have any feedback on my implementation, suggestions for improvement, or other thoughts, please share them in the comments section β it's greatly appreciated!
I feel like there is a lot I left out but i wanted to keep this video as short as possible.
[Code Link Repositories]: https://github.com/EdTheDev254/DCT-image-steganography
steganography,
coding,
code,
Python,
Cryptography,
Data,
Security
The technique is a hybrid approach: it uses a JPEG data-hiding method on the contents of a PNG, then saves the modified result back into the lossless PNG format. This setup allowed me to test if the hidden message would survive being re-compressed laterβand the results were surprising!
The math and logic behind this technique were genuinely challenging, but it was a fascinating challenge, so I've done my best to interpret it correctly. That being said, I'm always learning! If you have any feedback on my implementation, suggestions for improvement, or other thoughts, please share them in the comments section β it's greatly appreciated!
I feel like there is a lot I left out but i wanted to keep this video as short as possible.
[Code Link Repositories]: https://github.com/EdTheDev254/DCT-image-steganography
steganography,
coding,
code,
Python,
Cryptography,
Data,
Security
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
29
Likes
3
Duration
9:58
Published
Nov 7, 2025
Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.