1 Commits

Author SHA1 Message Date
b9eac22438 Rebase this commit to remove FlatIntelliJLaf. 2025-04-18 16:54:28 +08:00
9 changed files with 28 additions and 25 deletions

View File

@@ -6,7 +6,6 @@
<element id="file-copy" path="$PROJECT_DIR$/META-INF/MANIFEST.MF" />
</element>
<element id="module-output" name="stegsolve" />
<element id="extracted-dir" path="$PROJECT_DIR$/flatlaf-3.1.1.jar" path-in-jar="/" />
</root>
</artifact>
</component>

9
.idea/artifacts/stegsolve_jar.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="ArtifactManager">
<artifact type="jar" name="stegsolve:jar">
<output-path>$PROJECT_DIR$/out/artifacts/stegsolve_jar</output-path>
<root id="archive" name="stegsolve.jar">
<element id="module-output" name="stegsolve" />
<element id="extracted-dir" path="$USER_HOME$/Desktop/flatlaf-3.1.1.jar" path-in-jar="/" />
</root>
</artifact>
</component>

1
.idea/vcs.xml generated
View File

@@ -2,5 +2,6 @@
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -1,26 +1,23 @@
# StegSolve Legacy
# StegSolve
合并统一基于[原作者 Caesum 的 Java 代码](http://www.caesum.com/handbook/Stegsolve.jar)的各主要流传版本 StegSolve并进一步优化使用体验。
StegSolve的升级修复版本!
可在本仓库的 tags 中找到各版本的原始提交记录,以便对比。
## Todo (PRs welcome)
- [ ] 新增选项:图像缩放适应窗口大小(即拖动窗口边缘时始终让图像占满)
- [ ] 默认焦点放在切换图像而不是缩放(键盘方向键符合跟随焦点的惯例,但默认应该是切换图像)
- [ ] 子窗口添加缩放条
- [ ] 鼠标拖拽调整视图位置,滚轮缩放
- [ ] 十六进制文本域默认滚动至顶部,新增选项:仅显示十六进制/仅显示不带空格的文本,以便无需导出直接复制
## 1.5 changes [(by @souno-io, 2023-06-21)](https://github.com/souno-io/Stegsolve)
![](./img.png)
## 1.5 changes
- 汉化部分内容
- 美化界面为 JetBrains 风格
- 修复原来 1.4 版本的帧浏览器、合并图片等功能的不显示图片 bug
- 美化界面为Jetbrians风格
- 修复原来1.4版本的帧浏览器、合并图片等功能的不显示图片bug
## 1.4 changes [(by @Giotino, 2018-12-11)](https://github.com/Giotino/stegsolve)
## 1.4 changes
- Added zoom to image
- Added drag&drop zone for files
- Added "all" option to channel planes in "Data Extract"
- Added horizontal scrolling (Shift+Mousewheel)
# Special Thanks
Special thanks to [JetBrains](https://www.jetbrains.com) for their support to this project.
[![](https://raw.githubusercontent.com/ffffffff0x/BerylEnigma/master/assets/img/JetBrains.png)](https://www.jetbrains.com)

Binary file not shown.

BIN
img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/stegsolve" isTestSource="false" packagePrefix="stegsolve" />
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="flatlaf-3.1.1" level="project" />
<orderEntry type="library" name="flatlaf-3.1.11" level="project" />
</component>
</module>

View File

@@ -43,7 +43,7 @@ public class AboutFrame extends javax.swing.JFrame {
jEditorPane1.setContentType("text/html");
jEditorPane1.setEditable(false);
jEditorPane1.setText("<html>\n<center><b>Stegsolve Legacy</b></center>\n<br>\nStegsolve is a stegano solver for challenges. It provides these main functions:\n<ul>\n<li>A quick view of different bit planes and some simple transformations.</li>\n<li>Data extraction from planes. This can be row order or column order, with bits treated as a bitstream and converted into bytes.</li>\n<li>Some simple checking of file formats and reporting on the filesize, additional bytes, file holes, etc. This is highly dependent upon the type of image.</li>\n<li>Stereogram solver - simply change the offset until the image becomes visible.</li>\n<li>Frame browser for animated images. This should also work for viewing layers in multi-layered PNG files.</li>\n<li>Image combiner to combine two images in a variety of ways and browse through the different combinations.</li>\n</ul>\n<p>Copy/Cut and paste is available from most text using CTRL-C to copy, CTRL-V to paste and CTRL-X for cut.\n<p>If an image fails to load, for example because it is corrupt, then file analysis will still open the file that you just tried to view. It may, however, crash out before reporting the information that you want to know. This will work though on images where the PNG has corrupted CRC values for example.\n</html>\n");
jEditorPane1.setText("<html>\n<center><b>Stegsolve v1.5 by Souno Inherited in Caesum<br>Mod by Giotino</b></center>\n<br>\nStegsolve is a stegano solver for challenges. It provides these main functions:\n<ul>\n<li>A quick view of different bit planes and some simple transformations.</li>\n<li>Data extraction from planes. This can be row order or column order, with bits treated as a bitstream and converted into bytes.</li>\n<li>Some simple checking of file formats and reporting on the filesize, additional bytes, file holes, etc. This is highly dependent upon the type of image.</li>\n<li>Stereogram solver - simply change the offset until the image becomes visible.</li>\n<li>Frame browser for animated images. This should also work for viewing layers in multi-layered PNG files.</li>\n<li>Image combiner to combine two images in a variety of ways and browse through the different combinations.</li>\n</ul>\n<p>Copy/Cut and paste is available from most text using CTRL-C to copy, CTRL-V to paste and CTRL-X for cut.\n<p>If an image fails to load, for example because it is corrupt, then file analysis will still open the file that you just tried to view. It may, however, crash out before reporting the information that you want to know. This will work though on images where the PNG has corrupted CRC values for example.\n</html>\n");
jEditorPane1.setMinimumSize(new java.awt.Dimension(150, 150));
jEditorPane1.setPreferredSize(new java.awt.Dimension(150, 150));
jScrollPane1.setViewportView(jEditorPane1);

View File

@@ -6,8 +6,6 @@
package stegsolve;
import com.formdev.flatlaf.FlatIntelliJLaf;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.event.ChangeEvent;
@@ -130,7 +128,6 @@ public class StegSolve extends JFrame {
// <editor-fold defaultstate="collapsed" desc="Initcomponents()">
private void initComponents() {
FlatIntelliJLaf.install();
menuBar = new JMenuBar();
menuFile = new JMenu();
fileOpen = new JMenuItem();
@@ -265,7 +262,7 @@ public class StegSolve extends JFrame {
forwardButton.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), "forward");
forwardButton.getActionMap().put("forward", forwardButtonPress);
this.setTitle("StegSolve Legacy");
this.setTitle("StegSolve 1.5 by Souno (龙腾四季专版)");
this.setMaximumSize(getToolkit().getScreenSize());
pack();