Class TiffWriterTest

java.lang.Object
loci.tests.testng.TiffWriterTest

public class TiffWriterTest extends Object
Tests writing of tiles in a tiff.
Author:
Jean-Marie Burel
  • Constructor Details

    • TiffWriterTest

      public TiffWriterTest()
  • Method Details

    • parse

      public void parse(String id) throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • testWriteFullImage

      public void testWriteFullImage() throws Exception
      Tests the writing of the full size image as JPEG200 stream.
      Throws:
      Exception - Throw if an error occurred while writing.
    • testWriteImageFourTiles

      public void testWriteImageFourTiles() throws Exception
      Tests the writing of the image divided in 4 blocks.
      Throws:
      Exception - Throw if an error occurred while writing.
    • testWriteImageSplitHorizontal

      public void testWriteImageSplitHorizontal() throws Exception
      Tests the writing of the image with 2 tiles with full width.
      Throws:
      Exception - Throw if an error occurred while writing.
    • testWriteImageSplitVertical

      public void testWriteImageSplitVertical() throws Exception
      Tests the writing of the image with 2 tiles with full height.
      Throws:
      Exception - Throw if an error occurred while writing.
    • testWriteUnevenTilesImage128x128Block

      public void testWriteUnevenTilesImage128x128Block() throws Exception
      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

      public void testWriteUnevenTilesImage256x256Block() throws Exception
      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.