Giter Club home page Giter Club logo

paintfx's Introduction

PaintFX

PaintFX is an application in Java for drawing, graphics editing, and image editing, similar to MSPaint.

Author

This Tool is built by Georgio Yammine.

Drawing tools

Pen, Brush, Eraser, Color Picker, Bucket Fill, along 2 color selectors one for left click and the other for the right click.

Shapes

Rectangle, Round Rectangle, Ellipse.

Features

Canvas zoom and drag, open/save image, undo/redo, canvas resize, Escape to discard current drawing.

Getting PaintFx - Releases

Application builds can be found under releases for both Windows and Mac devices.

You can run the release by opening bin/PaintFX[.bat]

Source code

We have two important branches:

  • main -> Java 11 and javaFx 11 and above (actively developed branch)
  • jdk-8 -> Java 8 (no longer in development)

Getting Started

  • Required Software dependencies

    1. JDK 11+: OpenJDK 11 (LTS) - JVM: Hotspot, AdoptOpenJDK 11, available at https://adoptopenjdk.net/.
  • Dependencies automatically installed by Maven

    • org.openjfx JavaFX 16
    • org.jfxtras jmetro 11.6.15
    • org.openjfx javafx-swing 15.0.1
  • Running Process

    1. Run via IDE launcher.Main
    2. Run via Maven: mvn javafx:run
  • Building Process

    mvn clean javafx:jlink

    • cross building

      To create a cross platform build (for a different OS): First, you will need the JDKs for those other platforms. Download them as archives (zip or tar.gz), not installers from https://adoptopenjdk.net/releases.html, and unpack them to directories of your choice. Then pass this to the jmodsPath tag in the pom.xml file as follows:

      <plugin>
              <groupId>org.openjfx</groupId>
              <artifactId>javafx-maven-plugin</artifactId>
              <version>0.0.6</version>
              <configuration>
                  <launcher>Information Theory Calculator</launcher>
                  <mainClass>launcher.Main</mainClass>
                  <!--for building for cross platform include the platform jdk below (/Contents/Home/jmods)-->
                  <jmodsPath>
                          <!--mac-->
                      C:/Program Files/AdoptOpenJDK/mac/OpenJDK11U-jdk_x64_mac_hotspot_11.0.11_9/jdk-11.0.11+9/Contents/Home/jmods
                  </jmodsPath>
              </configuration>
          </plugin>
      

      After passing the target JDK, running mvn clean javafx:jlink will generate the image for the target OS.

      Generated Image can be found under target/image.

License

The project is licensed under GPL 3. See LICENSE file for the full license.

Preview

new project drawings edit image change size

paintfx's People

Contributors

georgioyammine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

datmt dweightcode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.