You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jBMP is the perfect library library for loading and using BMP files into your program or game.
Documentation
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