Package org.im4java.test
Class Test
- java.lang.Object
-
- org.im4java.test.Test
-
public class Test extends java.lang.ObjectThis class implements various tests of the im4java-package.
-
-
Constructor Summary
Constructors Constructor Description Test()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Main-method.voidtestAsync()Test of asynchronous execution.voidtestComposite()Basic test of composite.voidtestConvert()Basic test of convert.voidtestConvertBr()voidtestDCRaw()Test of dcraw.voidtestExiftool()Test of exiftool.voidtestGraphicsMagick()Basic test of GraphicsMagick.voidtestIdentify()Basic test of identify.voidtestInfo()Test image-information retrivial.voidtestJpegtran()Test of jpegtran.voidtestMixer()Test using a channel-mixer.voidtestMogrify()Basic test of mogrify.voidtestMontage()Basic test of montage.voidtestNoiseFilter()Test the noise-filter.voidtestOperation()Test adding operations and suboperations.voidtestPipe()Test piping input and output to an IM command.voidtestReadBufferedImage()Test image-conversion from BufferedImages.voidtestUFRaw()Test of ufraw-batch.voidtestWriteBufferedImage()Test image-conversion to BufferedImages.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Main-method. You can either pass the number(s) of the test or the string "all" for all tests.
-
testConvert
public void testConvert() throws java.lang.ExceptionBasic test of convert.- Throws:
java.lang.Exception
-
testConvertBr
public void testConvertBr() throws java.lang.Exception- Throws:
java.lang.Exception
-
testOperation
public void testOperation() throws java.lang.ExceptionTest adding operations and suboperations.- Throws:
java.lang.Exception
-
testMontage
public void testMontage() throws java.lang.ExceptionBasic test of montage.- Throws:
java.lang.Exception
-
testMixer
public void testMixer() throws java.lang.ExceptionTest using a channel-mixer.- Throws:
java.lang.Exception
-
testMogrify
public void testMogrify() throws java.lang.ExceptionBasic test of mogrify. Note that mogrify uses operators in prefix-notation!- Throws:
java.lang.Exception
-
testIdentify
public void testIdentify() throws java.lang.ExceptionBasic test of identify.- Throws:
java.lang.Exception
-
testComposite
public void testComposite() throws java.lang.ExceptionBasic test of composite. composite -blend {src_percent}x{dst_percent} overlay bgnd result- Throws:
java.lang.Exception
-
testInfo
public void testInfo() throws java.lang.ExceptionTest image-information retrivial.- Throws:
java.lang.Exception
-
testNoiseFilter
public void testNoiseFilter() throws java.lang.ExceptionTest the noise-filter. Note that the sample images are just too small to really see the effect.- Throws:
java.lang.Exception
-
testPipe
public void testPipe() throws java.lang.ExceptionTest piping input and output to an IM command.- Throws:
java.lang.Exception
-
testReadBufferedImage
public void testReadBufferedImage() throws java.lang.ExceptionTest image-conversion from BufferedImages.- Throws:
java.lang.Exception
-
testWriteBufferedImage
public void testWriteBufferedImage() throws java.lang.ExceptionTest image-conversion to BufferedImages. Note that we need an OutputConsumer to pipe the result to the BufferedImage.- Throws:
java.lang.Exception
-
testGraphicsMagick
public void testGraphicsMagick() throws java.lang.ExceptionBasic test of GraphicsMagick.- Throws:
java.lang.Exception
-
testJpegtran
public void testJpegtran() throws java.lang.ExceptionTest of jpegtran.- Throws:
java.lang.Exception
-
testAsync
public void testAsync() throws java.lang.ExceptionTest of asynchronous execution.- Throws:
java.lang.Exception
-
testUFRaw
public void testUFRaw() throws java.lang.ExceptionTest of ufraw-batch.- Throws:
java.lang.Exception
-
testExiftool
public void testExiftool() throws java.lang.ExceptionTest of exiftool.- Throws:
java.lang.Exception
-
testDCRaw
public void testDCRaw() throws java.lang.ExceptionTest of dcraw.- Throws:
java.lang.Exception
-
-