Skip to content

Commit

Permalink
Version 1.3.4
Browse files Browse the repository at this point in the history
Update dependencies and optimize image processing

Removed imgscalr-lib and added simple-png-javafx as a dependency to enhance image processing and remove dependency on AWT and Swing. Optimized the image resizing process in 'ProcessFile' by reusing the last resized image when the next image size is the same as the last one. Unnecessary print statements were removed, and project version was updated to 1.3.4.

Add window drag functionality and update JavaFX Maven plugin

The draggable area to move the application window has been implemented. Listeners for mouse drag and press events have been added for this purpose in Window.java. In pom.xml, the JavaFX Maven plugin version is updated. The plugin's groupId has been updated and unnecessary code commented out or removed.
  • Loading branch information
EasyG0ing1 committed Dec 15, 2023
1 parent 9410d40 commit 3d4b54a
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/simtechdata/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void makeControls() {
ivMakeFile = newImageView(imgMakeFileUp, imgMakeFileDown, 180,e-> Platform.runLater(this::createFile));
ivLoadImage = newImageView(Colors.overlay(imgLoadImageUp, GREEN), Colors.overlay(imgLoadImageDown, GREEN),180, e -> Platform.runLater(this::loadFile));
ivClose = newImageView(imgCloseUp, imgCloseDown, 180, e-> Platform.runLater(this::close));
ivView = newImageView(Colors.overlay(imgViewUp, GREEN), Colors.overlay(imgViewDown, BLUE), 250, e-> Platform.runLater(this::openPreview));
ivView = newImageView(Colors.overlay(imgViewUp, GREEN), Colors.overlay(imgViewDown, GREEN), 250, e-> Platform.runLater(this::openPreview));
ivView.setVisible(false);
ImageView ivTitle = newImageView(imgLogo,null,200, null);
textDirections = newText("Click Load Image and select a 1024 x 1024 image file\n", Fonts.Lato_Heavy(24), Color.WHITE, 1.0, true);
Expand Down
Binary file added src/main/resources/buttons/Buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/CloseDOWN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/CloseUP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/LoadImageDOWN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/LoadImageUP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/MakeFileDOWN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/MakeFileUP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/OkDOWN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/OkUP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/ViewDOWN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/buttons/ViewUP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d4b54a

Please sign in to comment.