Searched refs:pixel (Results 1 – 2 of 2) sorted by relevance
114 final int pixel = pixels[i]; in writeImage() local115 a[i] = (byte) ((pixel >> 24) & 0xFF); in writeImage()116 r[i] = (byte) ((pixel >> 16) & 0xFF); in writeImage()117 g[i] = (byte) ((pixel >> 8) & 0xFF); in writeImage()118 b[i] = (byte) (pixel & 0xFF); in writeImage()
448 int pixel = image.getRGB(x, y); in showPixel() local449 color = new Color(pixel); in showPixel()450 hLabel.setText("#" + Integer.toHexString(pixel)); in showPixel()451 rLabel.setText(String.valueOf((pixel >> 16) & 0xff)); in showPixel()452 gLabel.setText(String.valueOf((pixel >> 8) & 0xff)); in showPixel()453 bLabel.setText(String.valueOf((pixel ) & 0xff)); in showPixel()