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 void
Main-method.void
Test of asynchronous execution.void
Basic test of composite.void
Basic test of convert.void
void
Test of dcraw.void
Test of exiftool.void
Basic test of GraphicsMagick.void
Basic test of identify.void
testInfo()
Test image-information retrivial.void
Test of jpegtran.void
Test using a channel-mixer.void
Basic test of mogrify.void
Basic test of montage.void
Test the noise-filter.void
Test adding operations and suboperations.void
testPipe()
Test piping input and output to an IM command.void
Test image-conversion from BufferedImages.void
Test of ufraw-batch.void
Test 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
-