static int getIntColorWithoutAlphaOrMinus1(BufferedImage img, int x, int y) { ret img == null || !inImage(x, y, img) ? -1 : getIntColorWithoutAlpha(img, x, y); }