Package org.im4java.test
Class Test
java.lang.Object
org.im4java.test.Test
This class implements various tests of the im4java-package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain-method.voidTest of asynchronous execution.voidBasic test of composite.voidBasic test of convert.voidvoidTest of dcraw.voidTest of exiftool.voidBasic test of GraphicsMagick.voidBasic test of identify.voidtestInfo()Test image-information retrivial.voidTest of jpegtran.voidTest using a channel-mixer.voidBasic test of mogrify.voidBasic test of montage.voidTest the noise-filter.voidTest adding operations and suboperations.voidtestPipe()Test piping input and output to an IM command.voidTest image-conversion from BufferedImages.voidTest of ufraw-batch.voidTest image-conversion to BufferedImages.
-
Constructor Details
-
Test
public Test()Constructor.
-
-
Method Details
-
main
Main-method. You can either pass the number(s) of the test or the string "all" for all tests. -
testConvert
Basic test of convert.- Throws:
Exception
-
testConvertBr
- Throws:
Exception
-
testOperation
Test adding operations and suboperations.- Throws:
Exception
-
testMontage
Basic test of montage.- Throws:
Exception
-
testMixer
Test using a channel-mixer.- Throws:
Exception
-
testMogrify
Basic test of mogrify. Note that mogrify uses operators in prefix-notation!- Throws:
Exception
-
testIdentify
Basic test of identify.- Throws:
Exception
-
testComposite
Basic test of composite. composite -blend {src_percent}x{dst_percent} overlay bgnd result- Throws:
Exception
-
testInfo
Test image-information retrivial.- Throws:
Exception
-
testNoiseFilter
Test the noise-filter. Note that the sample images are just too small to really see the effect.- Throws:
Exception
-
testPipe
Test piping input and output to an IM command.- Throws:
Exception
-
testReadBufferedImage
Test image-conversion from BufferedImages.- Throws:
Exception
-
testWriteBufferedImage
Test image-conversion to BufferedImages. Note that we need an OutputConsumer to pipe the result to the BufferedImage.- Throws:
Exception
-
testGraphicsMagick
Basic test of GraphicsMagick.- Throws:
Exception
-
testJpegtran
Test of jpegtran.- Throws:
Exception
-
testAsync
Test of asynchronous execution.- Throws:
Exception
-
testUFRaw
Test of ufraw-batch.- Throws:
Exception
-
testExiftool
Test of exiftool.- Throws:
Exception
-
testDCRaw
Test of dcraw.- Throws:
Exception
-