Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
private void floodFill(int index, int[] pixels, int w, int paintColor) { Stack stack = new Stack(pixels.length); stack.push(index); pixels[index] = paintColor; // loop has a seed pixel that has been been transformed to newColor int scanLeft; int scanRight; while (stack.hasQueue()) { scanLeft = index; scanRight = index; // replace pixels to left boundary while ((scanLeft % w != 0) && isInColorRange(pixels[scanLeft - 1])) { scanLeft--; pixels[scanLeft] = paintColor; } // replace pixels to right boundary while ((scanRight % w != w - 1) && isInColorRange(pixels[scanRight + 1])) { scanRight++; pixels[scanRight] = paintColor; } // check line above for target color & populate stack if (scanLeft - w >= 0) { for (int i = scanLeft - w; i <= scanRight - w; i += 1) { if (isInColorRange(pixels[i])) { pixels[i] = paintColor; stack.push(i); } } } // check line below for target color & populate stack if (scanRight + w < pixels.length) { for (int i = scanLeft + w; i <= scanRight + w; i += 1) { if (isInColorRange(pixels[i])) { pixels[i] = paintColor; stack.push(i); } } } index = stack.pop(); } } /* * Used as a queue for the Fill Loop: Floodfill */ private class Stack { int mIndex; int[] mStack; Stack(int size) { mStack = new int[size]; mIndex = 0; } void push(int pixelIndex) { mStack[++mIndex] = pixelIndex; } int pop() { return mStack[mIndex--]; } boolean hasQueue() { return (mIndex > 0) ? true : false; } } }