-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ECMGS edited this page Oct 22, 2019
·
1 revision
jBMP is the perfect library library for loading and using BMP files into your program or game.
ecmgs.jbmp.Jbm: The main class for jBMP
public Jbmo(String path)
(Constructor) Loads the file and gets basic information from the file
public int[][][] getImage()
Returns a 3D array with the pixels of the file with the following structure
pixel[x][y][rgb]
x: the x coordinate
y: the y coordinate
rgb: is for getting the color of the pixel, 0 would get the green, 1 would get the red and 2 would get tge blue