@Test
    void testSubImage() throws IOException {
        performSubImageTest("TestJpegProgressive.tiff"); // strips
        performSubImageTest("TestJpegTiles264x264.tiff"); // tiles
        performSubImageTest("TestJpegRgb127x127.tiff");
    }
Verify that a sub-image extraction supports a pixel-by-pixel match with the full image extraction.
src/test/java/org/apache/commons/imaging/formats/tiff/TiffJpegTest.java