Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coobird/simpleimageviewer4j
a simple image viewer for Java
https://github.com/coobird/simpleimageviewer4j
image-viewer java java-gui swing
Last synced: 3 months ago
JSON representation
a simple image viewer for Java
- Host: GitHub
- URL: https://github.com/coobird/simpleimageviewer4j
- Owner: coobird
- License: mit
- Created: 2014-01-22T15:58:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T19:11:27.000Z (9 months ago)
- Last Synced: 2024-10-20T18:29:48.376Z (3 months ago)
- Topics: image-viewer, java, java-gui, swing
- Language: Java
- Homepage:
- Size: 212 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
simpleimageviewer4j - a simple image viewer
===========================================*simpleimageviewer4j* provides a simple way to display images in Java (using Swing.)
It's a useful when:
* Debugging applications which manipulates images.
* A simple image viewer in necessary in an application.Usage
-----A simple usage would be to specify images to display like the following:
```java
// 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:
```java
// A `List` containing images that we're working on.
List 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 `` section of the POM:
```
net.coobird.gui.simpleimageviewer4j
simpleimageviewer4j
0.1.2
jar```
Features
--------* Simple API to easily specify images to view.
* Swing UI to cycle through and zoom in/out of images with mouse and keyboard navigationDocumentation
-------------* [Documentation](https://coobird.github.io/simpleimageviewer4j/javadoc/0.1.2/)
Planned features
----------------* Swing UI which allows zooming into and out of images.