Ok, as you can see it now works for most interlaced Images, however as you can see, the 1 bits per sample is being rendered wrong, and it now crashes on 16 bits per sampleNonInterlaced Types [Passed]:
Passed - 1 Bps Color 0 [Grayscale]
Passed - 2 Bps Color 0 [Grayscale]
Passed - 4 Bps Color 0 [Grayscale]
Passed - 8 Bps Color 0 [Grayscale]
Passed - 16Bps Color 0 [Grayscale]
Passed - 8 Bps Color 2 [RGB]
Passed - 16Bps Color 2 [RGB]
Passed - 1 Bps Color 3 [Paletted]
Passed - 2 Bps Color 3 [Paletted]
Passed - 4 Bps Color 3 [Paletted]
Passed - 8 Bps Color 3 [Paletted]
Passed - 8 Bps Color 4 [Grayscale Alpha]
Passed - 16Bps Color 4 [Grayscale Alpha]
Passed - 8 Bps Color 6 [RGBA]
Passed - 16Bps Color 6 [RGBA]
Interlaced Types [Failed]:
KindOf - 1 Bps Color 0 [Grayscale]
Passed - 2 Bps Color 0 [Grayscale]
Passed - 4 Bps Color 0 [Grayscale]
Passed - 8 Bps Color 0 [Grayscale]
*Failed - 16Bps Color 0 [Grayscale]
Passed - 8 Bps Color 2 [RGB]
*Failed - 16Bps Color 2 [RGB]
KindOf - 1 Bps Color 3 [Paletted]
Passed - 2 Bps Color 3 [Paletted]
Passed - 4 Bps Color 3 [Paletted]
Passed - 8 Bps Color 3 [Paletted]
Passed - 8 Bps Color 4 [Grayscale Alpha]
*Failed - 16Bps Color 4 [Grayscale Alpha]
Passed - 8 Bps Color 6 [RGBA]
*Failed - 16Bps Color 6 [RGBA]
Filter Test [All NonInterlaced, Passed]:
Passed - 8 Bps Color 0 [Grayscale] Filter 0
Passed - 8 Bps Color 2 [RGB] Filter 0
Passed - 8 Bps Color 0 [Grayscale] Filter 1
Passed - 8 Bps Color 2 [RGB] Filter 1
Passed - 8 Bps Color 0 [Grayscale] Filter 2
Passed - 8 Bps Color 2 [RGB] Filter 2
Passed - 8 Bps Color 0 [Grayscale] Filter 3
Passed - 8 Bps Color 2 [RGB] Filter 3
Passed - 8 Bps Color 0 [Grayscale] Filter 4
Passed - 8 Bps Color 2 [RGB] Filter 4
Weird Sizes [All are Color 3 Paletted, Failed]:
Passed - 1 Bps 1x1 Interlaced
Passed - 1 Bps 1x1 NonInterlaced
Failed - 1 Bps 2x2 Interlaced
Passed - 1 Bps 2x2 Non Interlaced
Failed - 1 Bps 3x3 Interlaced
Kindov - 1 Bps 3x3 Non Interlaced
Failed - 1 Bps 4x4 Interlaced
Kindov - 1 Bps 4x4 Non Interlaced
Kindov - 1 Bps 5x5 Interlaced
Kindov - 1 Bps 5x5 Non Interlaced
Kindov - 2 Bps 6x6 Interlaced
Kindov - 2 Bps 6x6 Non Interlaced
Kindov - 2 Bps 7x7 Interlaced
Kindov - 2 Bps 7x7 Non Interlaced
Kindov - 2 Bps 8x8 Interlaced
Passed - 2 Bps 8x8 Non Interlaced
Failed - 2 Bps 9x9 Interlaced
Kindov - 2 Bps 9x9 Non Interlaced
Passed - 4 Bps 32x32 Interlaced
Passed - 4 Bps 32x32 Non Interlaced
Failed - 4 Bps 33x33 Interlaced
Failed - 4 Bps 33x33 Non Interlaced
Kindov - 4 Bps 34x34 Interlaced
Passed - 4 Bps 34x34 Non Interlaced
Kindov - 4 Bps 35x35 Interlaced
Failed - 4 Bps 35x35 Non Interlaced
Kindov - 4 Bps 36x36 Interlaced
Passed - 4 Bps 36x36 Non Interlaced
Failed - 4 Bps 37x37 Interlaced
Kindov - 4 Bps 37x37 Non Interlaced
Kindov - 4 Bps 38x38 Interlaced
Passed - 4 Bps 38x38 Non Interlaced
Kindov - 4 Bps 39x39 Interlaced
Kindov - 4 Bps 39x39 Non Interlaced
Kindov - 4 Bps 40x40 Interlaced
Passed - 4 Bps 40x40 Non Interlaced
Though Im pretty sure that has to do with a flaw with my code, tomarrow, I'll look at the binary of the scanlines and see whats going wrong
Anyways, now most of the Wierd sizes images load, however render wrong...I gotta check those algos
But thats it for tonight before I type code in my sleep again...that wasnt good...lol
~Thrawn~