Skip to content

We specialize in building custom tech solutions. Discover our PNG to .na Converter—convert and view PNG images in a new format.

Notifications You must be signed in to change notification settings

Asadullah-nadeem/png-to-na-converter-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG to NA Converter

PNG to NA Converter

This is a Java program that converts PNG images to a custom .na file format. You can select a PNG image, convert it to .na, and view the converted image.

Features

  • Select PNG File: Choose a PNG image file from your computer.
  • Convert to .na: Convert the selected PNG image to .na format.
  • View Image: Open and view images stored in .na format.

How It Works

  1. Select a PNG: The program lets you pick a PNG file.
  2. Convert: It converts the PNG image data to .na format.
  3. View the Converted Image: You can open and display the .na image.

Getting Started

Prerequisites

  • Java Development Kit (JDK): Make sure you have Java installed. You can download it here.

Running the Program

  1. Clone or Download this project to your computer.
  2. Open the Project in your Java IDE (like IntelliJ IDEA, Eclipse, or NetBeans).
  3. Compile and Run PngToNAConverterGUI.java:
    • This will open a window with buttons for selecting, converting, and viewing files.

Project Structure

  • PngToNAConverterGUI.java: The main class with the user interface.
  • ImageUtils.java: Handles image processing (converting PNG data).
  • NAFileUtils.java: Manages .na file operations (saving and reading).

Example Workflow

  1. Click Select PNG File to choose an image.
  2. Click Convert to .na to convert the image.
  3. Click Open .na File to view the converted image.

Troubleshooting

  • File Not Found: Make sure the PNG file is accessible.
  • Conversion Errors: Check if the file is a valid PNG image.

Old image

image

New code and Update code

Screenshot 2024-11-14 170951

About

We specialize in building custom tech solutions. Discover our PNG to .na Converter—convert and view PNG images in a new format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages