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 Jan 10, 2024
1 parent 3d4b54a commit bcbab9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ open /Applications/MacIcns.app --args /Users/username/Pictures/MyIcon.png
```
OR
```Bash
/Applications/MacIcns.app/Contents/MacOS/universalJavaApplicationStub /Users/username/Pictures/MyIcon.png
/Applications/MacIcns.app/Contents/MacOS/MacIcns /Users/username/Pictures/MyIcon.png
```

The program uses the filename of your image file but replaces the extension with `.icns`. If the `.icns` file already exists, the program will overwrite the file if it is being run from within Terminal. In the GUI, you will have the option of overwriting the file.
Expand All @@ -44,7 +44,7 @@ The program uses the filename of your image file but replaces the extension with
### GUI Mode
If the program quits without showing that the file was created successfully (green text under the program logo), run it from within terminal using this command:
```Bash
/Applications/MacIcns.app/Contents/MacOS/universalJavaApplicationStub
/Applications/MacIcns.app/Contents/MacOS/MacIcns
```
Then, try to process your image again but this time when it exits, it should kick out an error message that will help you understand why it wasn't able to process the file.

Expand Down

0 comments on commit bcbab9b

Please sign in to comment.