Package loci.tests.testng
Class TiffWriterTest
java.lang.Object
loci.tests.testng.TiffWriterTest
Tests writing of tiles in a tiff.
- Author:
- Jean-Marie Burel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidtearDown()voidTests the writing of the full size image as JPEG200 stream.voidTests the writing of the image divided in 4 blocks.voidTests the writing of the image with 2 tiles with full width.voidTests the writing of the image with 2 tiles with full height.voidTests the writing of blocks of 256x256.voidTests the writing of blocks of 256x256.
-
Constructor Details
-
TiffWriterTest
public TiffWriterTest()
-
-
Method Details
-
parse
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testWriteFullImage
Tests the writing of the full size image as JPEG200 stream.- Throws:
Exception- Throw if an error occurred while writing.
-
testWriteImageFourTiles
Tests the writing of the image divided in 4 blocks.- Throws:
Exception- Throw if an error occurred while writing.
-
testWriteImageSplitHorizontal
Tests the writing of the image with 2 tiles with full width.- Throws:
Exception- Throw if an error occurred while writing.
-
testWriteImageSplitVertical
Tests the writing of the image with 2 tiles with full height.- Throws:
Exception- Throw if an error occurred while writing.
-
testWriteUnevenTilesImage128x128Block
Tests the writing of blocks of 256x256. Tiles should be square and size multiple of 16.- Throws:
Exception- Throw if an error occurred while writing.
-
testWriteUnevenTilesImage256x256Block
Tests the writing of blocks of 256x256. Tiles should be square and size multiple of 16.- Throws:
Exception- Throw if an error occurred while writing.
-