Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // We need a new buffered image without the alpha channel
- BufferedImage imageNoAlpha = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
- loadPixels();
- imageNoAlpha.setRGB(0, 0, width, height, g.pixels, 0, width);
- bOK = du.UploadImage("snapshot." + currentFormat, imageNoAlpha);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement