Skip to content

JingShing/Pixel-Art-Filter-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 繁體中文

Pixel-Art-Filter-Java

Pixel Art filter made with Java

This project is using Python Pixel Art Filter Tool as reference. And use Java to rewrite the project.

GUI

Main menu

GUI

painter

painter

palette

palette

filters

filters

Envirorment

Before ver 0.3

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


After ver 0.3

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.

Version

Ver 0.1

  • Successfully rewrite Python code to Java
  • Feature:
    • Pixel Size
    • Color number

Ver 0.2

  • Feature:
    • Custom input
    • Outline(erode)
    • Blur(bilateralFilter)

Ver 0.3

  • Feature:
    • Contrast
    • Saturation

Ver 0.4

  • Feature:
    • GUI
    • project manager
    • preview window
    • first packed release edition

Ver 0.5

  • 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

Ver 0.5.1

  • Fixed:
    • UI text
    • UI layout
    • if running filter button will be unavailable
    • fixed undo button function

Ver 0.5.2

  • Improved:
    • redo & undo in filters
    • filters now will show the step count

Still working on...