This Java-based application allows users to create pixel art with ease. It provides a simple interface where users can select colors, draw on a canvas, save their creations, and open existing images for editing.
- Drawing Canvas: The main canvas provides a grid-based drawing area where users can create pixel art by selecting colors and painting.
- Color Selection: Users can choose from a variety of preset colors or use RGB sliders to customize their color selection.
- Save and Open: Users can save their artwork in common image formats like JPG, PNG, and GIF. They can also open existing images for further editing.
- Clear Canvas: A handy feature to clear the canvas and start a new artwork from scratch.
- Grid Overlay: The canvas includes a grid overlay, making it easier for users to create precise pixel art.
- Drawing: Select a color by clicking on one of the preset color buttons or adjusting the RGB sliders. Then, click and drag on the canvas to draw.
- Save Artwork: Click on the "SAVE" button to save your artwork. Choose the desired image format (JPG, PNG, or GIF) and enter a filename.
- Open Existing Image: Click on the "OPEN" button to load an existing image for editing.
- Clear Canvas: Click on the "CLEAR" button to clear the canvas and start a new artwork.
This application uses Java's Swing library for the graphical user interface.
To run the Pixel Art App, follow these steps:
- Compile all Java files in the
finalProject
package. - Run the
Main
class, which contains the main method.