Menu

Imagicons

Pieter Roskam

Introduction
This is a simple utility jar that runs through 2 level deep folders and creates icons from images.
How it works
It works simple. I created a class called: ImageResizer and this takes the ImageResizeBean as a Parameter in the resizeImage method. After that in the base folder of your images you find a icons folder. Inside it has the same folder structure as your images. Heren you find the requested icons.
Example
ImageResizeBean imageResizeBean = new ImageResizeBean();
sets the base folder of your images
imageResizeBean.setImagePath("src/test/resources/iconsstest");
sets the kind of images that you want to find
imageResizeBean.setImagePostFix("jpg");
sets the icon height
imageResizeBean.setHeight(50);
sets the icon width
imageResizeBean.setWidth(50);

resize and the image to an icon
ImageResizer imageResizer = new ImageResizer();
imageResizer.resizeImage(imageResizeBean);
Release notes
requirement : java 5 or higher.
release date : 15-08-2012
release version : 1.0
Installation instruction : use it as java library in your project.


MongoDB Logo MongoDB