Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a simple image viewer
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
LICENSE
README.md
pom.xml

README.md

simpleimageviewer4j - a simple image viewer

The purpose of this project is to provide a simple way to display images in Java (using Swing) to aid in debugging applications which manipulate images.

A simple usage would be to specify images to display like the following:

// Images that we're working on.
BufferedImage img1 = ...
BufferedImage img2 = ...

// A window to view `img1` and `img2` will be shown.
new Viewer(img1, img2).show();

Using a Collection (such as a List) to specify images to display is also supported:

// A `List` containing images that we're working on.
List<BufferedImage> images = ...

// A window to view images contained in `images` will be shown.
new Viewer(images).show();

Maven

simpleimageviewer4j is available through Maven.

Simply add the following to the <dependencies> section of the POM:

<dependency>
    <groupId>net.coobird.gui.simpleimageviewer4j</groupId>
    <artifactId>simpleimageviewer4j</artifactId>
    <version>0.1.0</version>
    <scope>jar</scope>
</dependency>

Features

  • Simple API to easily specify images to view.
  • Swing UI to cycle through images with mouse and keyboard navigation.

Planned features

  • Swing UI which allows zooming into and out of images.
Something went wrong with that request. Please try again.