Skip to content

DannyyyL/ImageScaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageScalar

A small Java Swing GUI that visualizes and scales images using a quadtree representation.

Demo

What it does

  • Builds a quadtree from an input image and renders it on a 512×512 canvas.
  • Lets you zoom in/out by changing displayed resolution (++Res / --Res).
  • Click to select coordinates, then use Find to center on that spot.
  • Shows marked pixels and average-color blocks computed from the quadtree.

Quick run

  • Compile and run with a single image file: javac *.java && java Gui path/to/image.png

Controls (GUI)

  • ++Res / --Res — increase / decrease displayed detail level
  • Find — center on the last clicked point
  • Click on the image to set the target coordinate
  • Exit — close the app

About

First Year University Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages