com.quadrique.jbuildingblocks.core.image
Class JbbImageHandlerTest

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.image.JbbImageHandlerTest

public class JbbImageHandlerTest
extends Object

Author:
dkumbham

Constructor Summary
JbbImageHandlerTest()
           
 
Method Summary
static void beforeTests()
          This is only run upon startup of the tests defined here
 void convertImageToBmp()
          converts png to bitmap
 void saveAs()
          reads a bitmap and writes a png
 void saveAsJpeg()
          reads a bitmap and writes a jpg
 void testGetImageBmp1()
          read bitmap as buffered image
 void testGetImageBmp2()
          read bitmap as Graphics 2D
 void testGetImageBmp3()
          read bitmap as RAW PNG ( bitmap is converted )
 void testGetImageBmp4()
          read bitmap as RenderedImage
 void testGetImageGif()
          read gif as Buffered image
 void testGetImageInfo()
           
 void testGetImageJpg()
          read Jpg as buffered image
 void testGetImageJpg2()
          read Jpg as RAW JPEG image
 void testGetImagePng()
          read png as buffered image
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbImageHandlerTest

public JbbImageHandlerTest()
Method Detail

beforeTests

public static void beforeTests()
This is only run upon startup of the tests defined here


testGetImageInfo

public void testGetImageInfo()

testGetImageBmp1

public void testGetImageBmp1()
read bitmap as buffered image


testGetImageBmp2

public void testGetImageBmp2()
read bitmap as Graphics 2D


testGetImageBmp3

public void testGetImageBmp3()
read bitmap as RAW PNG ( bitmap is converted )


testGetImageBmp4

public void testGetImageBmp4()
read bitmap as RenderedImage


testGetImageGif

public void testGetImageGif()
read gif as Buffered image


testGetImageJpg

public void testGetImageJpg()
read Jpg as buffered image


testGetImageJpg2

public void testGetImageJpg2()
read Jpg as RAW JPEG image


testGetImagePng

public void testGetImagePng()
read png as buffered image


convertImageToBmp

public void convertImageToBmp()
converts png to bitmap


saveAs

public void saveAs()
reads a bitmap and writes a png


saveAsJpeg

public void saveAsJpeg()
reads a bitmap and writes a jpg



Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.