Warning: session_start(): open(/var/lib/php/sessions/sess_esa28ojpcspm625auevqv40qa7, 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 BufferedImage cutOutRegionFromImage(IImageRegion region) { if (region == null) null; var fullImage = toBufferedImage(region.image()); var r = region.bounds(); var clipped = clipBufferedImage(fullImage, r); int[] pixels = pixelsOfBufferedImage(clipped); int w = r.w, h = r.h, i = 0; for y to h: for x to w: { if (!region.contains(r.x+x, r.y+y)) pixels[i] = 0; ++i; } ret bufferedImageWithAlpha(w, h, pixels); }