Android的隐秘隐秘、Android

2023-09-04 06:28:32 作者:№独特的→神经范

我想实现隐秘在Android ...但位图得到COM pressed时,它的存储,以及改变的像素值。是否有存储图像的任何其他方式?

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?

在此先感谢!

推荐答案

您应该使用无损COM pression方法,因为常见的COM pression方法与损失,如JPG您的应用程序会毁了你的水印数据您检查。纵观位图的COM pression格式似乎只有JPG和PNG COM pression格式可供选择。 AFAIK PNG 是一种无损COM pression方法,所以你可以用它来保存数据。

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 is a lossless compression method so you could use it to save your data.