19 lines
422 B
Java
19 lines
422 B
Java
package com.cringe_studios.christmastreescanning;
|
|
|
|
import java.awt.Point;
|
|
import java.awt.image.BufferedImage;
|
|
|
|
public class ChristmasTreeScanning {
|
|
Point getBrightestSpot(BufferedImage image) {
|
|
int[] imageColors = image.getRGB(0, 0, image.getWidth(), image.getHeight(), null, 0, 0);
|
|
|
|
for(int i = 0; i < imageColors.length; i++) {
|
|
|
|
}
|
|
|
|
Point brightestSpot = new Point(0, 0);
|
|
|
|
return brightestSpot;
|
|
}
|
|
}
|