Skip to content

SimpleImage is a small Java library with the purpose of making image processing a piece of cake.

License

Notifications You must be signed in to change notification settings

RalleYTN/SimpleImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

SimpleImage is a library that was written to simplify image processing in Java. Complex processing can be done in a single line of code and is highly readable and maintainable. The library was not optimized for game development! It is meant for basic GUI applications or command line tools. The library supports the JavaFX framework. If support for JavaFX is not needed, just simply do not use the simple-image-fx_vX.X.X.jar.

Why should I use SimpleImage? I mean, there already is BufferedImage and the Java2D API.

There are three reasons why you should use SimpleImage over BufferedImage. The first reason is SimpleImage is easier to use. For example rotating an image can be done in a single line of code where everyone knows what it does. With Java2D you need arround ten lines and it takes two looks before you know what it does. The second reason is that SimpleImage has no overhead or things that are three times wrapped in objects. You can directly work with primitive data types in a two dimensional integer array. The third reason is that you do not have to worry about destroying the hardware acceleration as there is none. The images are saved in RAM and will be processed by the CPU. This can be faster than BufferedImage.

Features

  • Reading/Writing images
  • JavaFX support
  • Converting SimpleImage instances to BufferedImage instances and the other way arround
  • Fast image filtering
  • Pre-coded image filters
  • Mirroring images on both axis
  • Basic editing functions
  • Taking screenshots
  • Rotate/Scale/Combine/Mix images
  • Map images (spritesheets etc.)
  • Clipboard functionality

Requirements

  • Java 8 or higher

Setup

Just put the .jar files on your class path.

Links

See the roadmap
See the online documentation
See the changelog
See the download page