-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iminto
committed
Sep 11, 2019
1 parent
203c0b9
commit 0c75d59
Showing
6 changed files
with
48 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
图片隐写,将要隐藏的文字写入图片中,理论上最大可支持几十M文本。 | ||
原理比较简单,可见代码注释。 | ||
|
||
经过处理的图片和原图在肉眼上几乎没有区别,并且在体积上不会造成明显膨胀。 | ||
(处理后的体积可能略微膨胀,甚至会变小) | ||
|
||
运行方式 | ||
``` | ||
java -jar hideImage-1.0-SNAPSHOT.jar | ||
``` | ||
原图: | ||
|
||
![原图][1] | ||
|
||
处理后图片: | ||
|
||
![处理后图片][2] | ||
|
||
隐藏文字:组织上已经决定了,今天的垃圾都归你 | ||
------ | ||
|
||
[1]: ./static/yaofan.png | ||
[2]: ./static/yaofan_hide.png | ||
|
||
图片隐写,将要隐藏的文字写入图片中,理论上最大可支持几十M文本。 | ||
原理比较简单,可见代码注释。 | ||
|
||
经过处理的图片和原图在肉眼上几乎没有区别,并且在体积上不会造成明显膨胀。 | ||
(处理后的体积可能略微膨胀,甚至会变小) | ||
|
||
运行方式 | ||
``` | ||
java -jar -Dfile.encoding=UTF-8 target/hideImage-1.0-SNAPSHOT.jar | ||
``` | ||
APP截图: | ||
|
||
![APP截图][3] | ||
|
||
原图: | ||
|
||
![原图][1] | ||
|
||
处理后图片: | ||
|
||
![处理后图片][2] | ||
|
||
隐藏文字:组织上已经决定了,今天的垃圾都归你 | ||
------ | ||
|
||
[1]: ./static/yaofan.png | ||
[2]: ./static/yaofan_hide.png | ||
[3]: ./static/hide.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.