Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public RGBColor[][] toRGBColorArray(){
- RGBColor[][] newImage = new RGBColor[rows][cols];
- for(int i=0;i<rows;i++)
- for(int j=0;j<cols;j++)
- newImage[i][j]=new RGBColor(image[i][j]);
- return newImage;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement