steganography

Maintaining LSB through JPG compilation - is it possible?

孤者浪人 提交于 2021-02-20 05:14:10
问题 This is one of those "pretty sure we found the answer, but hoping we're wrong" questions. We are looking at a steganography problem and it's not pretty. Situation: We have a series of images. We want to mark them (watermark) so the watermarks survive a series of conditions. The kicker is, we are using a lossfull format, JPG, rather than lossless such as PNG. Our watermarks need to survive screenshotting and, furthermore, need to be invisible to the naked eye. Finally, they need contain at

Maintaining LSB through JPG compilation - is it possible?

一曲冷凌霜 提交于 2021-02-20 05:14:05
问题 This is one of those "pretty sure we found the answer, but hoping we're wrong" questions. We are looking at a steganography problem and it's not pretty. Situation: We have a series of images. We want to mark them (watermark) so the watermarks survive a series of conditions. The kicker is, we are using a lossfull format, JPG, rather than lossless such as PNG. Our watermarks need to survive screenshotting and, furthermore, need to be invisible to the naked eye. Finally, they need contain at

Maintaining LSB through JPG compilation - is it possible?

前提是你 提交于 2021-02-20 05:13:37
问题 This is one of those "pretty sure we found the answer, but hoping we're wrong" questions. We are looking at a steganography problem and it's not pretty. Situation: We have a series of images. We want to mark them (watermark) so the watermarks survive a series of conditions. The kicker is, we are using a lossfull format, JPG, rather than lossless such as PNG. Our watermarks need to survive screenshotting and, furthermore, need to be invisible to the naked eye. Finally, they need contain at

Image Steganography with python opencv, reconstructing the embedded image is very noisy

最后都变了- 提交于 2021-01-07 02:31:55
问题 I am hiding an image inside another image (Image Steganography) by using python 3.6.8 with opencv 4.4.0.44. I am on windows 10 machine. The algorithm I am using is as follows: I have defined a mask with zeros at the last two lowest significant bits. Then I use this mask and "bitwise and" it to make the last two bits of every pixel in the base image to zero. There are two images, one is base image which accommodates the second image (hidden image). I have made sure the size of the hidden image

Select and Download random image from Google

99封情书 提交于 2020-07-17 10:46:19
问题 Is there any example how I can search and download a random image from google? Using a random search string? I want to use this image as steganography image and I want it to be a random one. I am using C# with Visual Studio 2012. 回答1: You probably don't want a random search string. You probably want random topics. Here is some code to help you out. First, create a list of topics: private readonly List<string> _topics = new List<string> {"dog", "car", "truck", "cat", "florida"}; Of course, you

Select and Download random image from Google

别来无恙 提交于 2020-07-17 10:44:58
问题 Is there any example how I can search and download a random image from google? Using a random search string? I want to use this image as steganography image and I want it to be a random one. I am using C# with Visual Studio 2012. 回答1: You probably don't want a random search string. You probably want random topics. Here is some code to help you out. First, create a list of topics: private readonly List<string> _topics = new List<string> {"dog", "car", "truck", "cat", "florida"}; Of course, you

How to save lossless jpg in java?

老子叫甜甜 提交于 2020-05-02 05:30:14
问题 I have to save a jpeg image lossless. I am work on a steganography project but Java compressing and saving my result. I research every forums and try everything but it didn't work. Here my example code for lossless save a jpeg image: BufferedImage image = ImageIO.read(new File("sources/image.jpg")); ImageWriter writer = ImageIO.getImageWritersByFormatName("JPEG").next(); JPEGImageWriteParam jpegParams = new JPEGImageWriteParam(null); jpegParams.setCompressionMode(ImageWriteParam.MODE_EXPLICIT

How do I hide a file inside an image with Python?

旧城冷巷雨未停 提交于 2020-01-25 01:53:07
问题 I know it's possible in Batch using the 'copy' command with the '/B' switch, i.e.: copy /B imagefile+hiddenfile newfile My question is this; Is it possible to do this in Python, and if so, how? This question is very similar, and it's answer is acceptable, but I am still curious; Is there a way to do this without the stepic module? 回答1: You don't need stepic for that. >>> out = file("out.jpg", "wb") >>> out.write(file("someimage.jpg", "rb").read()) >>> out.write(file("somehiddenfile.pdf", "rb"

How do I hide a file inside an image with Python?

风流意气都作罢 提交于 2020-01-25 01:52:12
问题 I know it's possible in Batch using the 'copy' command with the '/B' switch, i.e.: copy /B imagefile+hiddenfile newfile My question is this; Is it possible to do this in Python, and if so, how? This question is very similar, and it's answer is acceptable, but I am still curious; Is there a way to do this without the stepic module? 回答1: You don't need stepic for that. >>> out = file("out.jpg", "wb") >>> out.write(file("someimage.jpg", "rb").read()) >>> out.write(file("somehiddenfile.pdf", "rb"

android steganography

前提是你 提交于 2020-01-22 03:00:10
问题 I'm trying to implement steganography on Android...but the bitmap gets compressed when it's stored, and that changes the pixel values. Is there any other way to store the image? Thanks in advance!! 回答1: You should use a lossless compression method for your application since common compression methods with losses such as JPG will ruin your watermark data as you have checked. Taking a look at Bitmap Compression formats it seems that only JPG and PNG compression formats are available. AFAIK png