code: @Override
  	public void set(int x, int y, int value) {
  		if (!isInBounds(x, y))
  			throw new ImageAccessException("Requested pixel is out of bounds: "+x+" "+y);
  
  		data[getIndex(x, y)] = (byte) value;
  	}
docs: Sets the value of the specified pixel.
  
  @param x	 pixel coordinate.
  @param y	 pixel coordinate.
  @param value The pixel's new value.