Warning: session_start(): open(/var/lib/php/sessions/sess_q3vu02fkrc716l0v140babag8v, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static BWImage getAlphaChannel(BufferedImage src) { //assertEquals("Wrong image type", BufferedImage.TYPE_INT_ARGB, src.getType()); int w = src.getWidth(); int h = src.getHeight(); int[] srcBuffer = src.getData().getPixels(0, 0, w, h, (int[]) null); BWImage alpha = new BWImage(w, h); for (int i=0; i> 24) & 0xff; int a = srcBuffer[i] & 0xff; alpha.setByte(i % w, i / w, a); //print(intToHex(srcBuffer[i])); } ret alpha; }