本文介绍了隐写术隐藏图像中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有图像中的Steganography文本代码(C#,VB.NET)



Hi, I have the code to Steganography text in image (C#,VB.NET)

Dim PicBytes As Long = PicFileStream.Length
        Dim PicExt As String = PicBuffer.Extension
        Dim PicByteArray(PicBytes) As Byte
        PicFileStream.Read(PicByteArray, 0, PicBytes)
        Dim SentinelString() As Byte = {73, 116, 83, 116, 97, 114, 116, 115, 72, 101, 114, 101}

        Dim PlainText As String = txtchin
        Dim PlainTextByteArray(PlainText.Length) As Byte
        For i As Integer = 0 To (PlainText.Length - 1)
            PlainTextByteArray(i) = CByte(Asc(PlainText.Chars(i)))
            Application.DoEvents()
        Next







1 - 我想要保存诶擪艾设䍵马而不用base64

2 - 图像中的隐写术文字大小是8MB或更多没有任何损失或问题



谢谢



我尝试过:



当隐写文本成为??????????




1-I want save 诶擪艾設䍵马 without base64
2-How can Steganography text size 8MB or more in image Without any losses or problems

Thank you

What I have tried:

txtchin is string (like 诶擪艾設䍵马) when Steganography text become ??????????

推荐答案


Quote:

如何可以隐藏图像文字大小8MB或更多图像没有任何损失或问题

How can Steganography text size 8MB or more in image Without any losses or problems



隐写术是技术性的东西,没有魔法,它意味着损失。

原理隐写术是用一些任意数据替换图片的一部分,所有技巧都是选择要替换的内容。通过仔细选择高质量的图片和数据编码,人眼看不到损失。

通常的编码意味着图片至少比要隐藏的数据大8倍,在您的情况下,图片必须至少为64MB,并且没有压缩。

隐写术不需要base64编码的文本。


Steganography is technical stuff, there is no magic, it imply losses.
The principle of Steganography is to replace a part of a picture with some arbitrary data, all the trick is to choose what will be replaced. By carefully choosing a high quality picture and encoding of data, the loss will be invisible to human eyes.
Usual encoding imply the picture to be at least 8 times bigger than data to hide, in your case, the picture must be at least 64MB, and no compression.
Steganography do not need base64 encoding of text.


这篇关于隐写术隐藏图像中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 04:06