12421243124412451246124712481249125012511252
BufferedImage desc = null; RGBAdjustFilter filter = new RGBAdjustFilter(); filter.setGFactor(g); filter.setBFactor(b); filter.setRFactor(r); desc = filter.filter(src, null); filter = null; return desc; } // 增加亮度, gammer=1不变,<1变暗 >1变亮