English | 繁體中文
Pixel Art filter made with Java
This project is using Python Pixel Art Filter Tool as reference. And use Java to rewrite the project.
I don't use any of IDE or project set. So I will give a method of how to use opencv with javac in cmd and local envirorment.
Before we started. It will need to go to Opencv Files download the newest. You will get .exe
compressed file. Activate it to get a file.
After depressed it. You will get a folder named opencv
. Go to this file path opencv\opencv\build\java
can get a compiled opencv library called opencv-version.jar
. Put this file in the same folder of PixelTransform.java
. And in x64
and x86
folder had .dll
file. Please choose one which can run in your os in the same folder of PixelTransform.java
.
Activate CMD and using CD load to the folder of PixelTransform.java
. Enter this command to compile the file: javac -d . -classpath .;opencv-version.jar PixelTransform.java
And if you want to run the compiled class please enter this command: java -classpath .;opencv-version.jar pixel.filter.PixelTransform
I started use eclipse and maven as my IDE and project manager.
And this is my first time to use them so I make a note for it.
in note/note.md
. You can see how I done during the process.
- Successfully rewrite Python code to Java
- Feature:
- Pixel Size
- Color number
- Feature:
- Custom input
- Outline(erode)
- Blur(bilateralFilter)
- Feature:
- Contrast
- Saturation
- Feature:
- GUI
- project manager
- preview window
- first packed release edition
- Feature:
- Add painter window
- now can draw on image
- now can choose color
- now can save drawed image
- Add more filter window
- add filters class in main gui
- Add painter window
- Fixed:
- UI text
- UI layout
- if running filter button will be unavailable
- fixed undo button function
- Improved:
- redo & undo in filters
- filters now will show the step count
Still working on...