Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte [][] tempr = new byte[width][height];
- byte [][] tempg = new byte[width][height];
- byte [][] tempb = new byte[width][height];
- tempr[j][i] = red[j][i];
- tempb[j][i] = blue[j][i];
- tempg[j][i] = green[j][i];
- red[j][i] = (byte)(red[j][height-i]) ;
- green[j][i] = blue[j][height-i] ;
- blue[j][i] = green[j][height-i] ;
- blue[j][height-i] = tempb[j][i];
- green[j][height-i] = tempg[j][i];
- red[j][height-i] = tempr[j][i];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement