*** 51,60 **** --- 51,61 ---- protected int alphaMask = 0; protected PixelConverter() {} + @SuppressWarnings("fallthrough") public int rgbToPixel(int rgb, ColorModel cm) { Object obj = cm.getDataElements(rgb, null); switch (cm.getTransferType()) { case DataBuffer.TYPE_BYTE: byte[] bytearr = (byte[]) obj;