Simian is a basic Java image viewer. It has the ability to act as an interface for any image manipulation routines which the user can program as a java static method acting on a Java BufferedImage and returning a Java BufferedImage. Source is freely available and includes many useful Java features
Features
Formats
Can handle any format which Java can (jpg, png and gif for reading) and handles images in 32-bit alpha-red-green-blue format.
Resizes window to image size.
Clipboard Interaction
Cropping is simple with mouse and/or keyboard.
Look and Feel can be chosen with Swing
Rotation of image through a right angle.
Resizing Algorithms include an optimal algorithm for doubling, pixellation, halving and custom resizing.
Edge Preserve Algorithm to double the size of an image by constructing a smooth edge between sufficiently different pixels allows for increasing size without blurring or pixellation (appropriate for small graphics).
Alpha channel: Algorithms which alter pixels assume the image is opaque. Extra functions are present which:
a) get the alpha channel as a greyscale image
b) store the current grayscale image as an alpha channel in memory
c) adds the alpha channel in memory to the current image.
This allows transparency to be used in images (use png format).