public byte[] getPixelData(MemBuffer buf) {
		byte[] rawPixels = new byte[this.getImageDataSize()];
		if (buf.getBytes(rawPixels, size + getColorMapLength()) != rawPixels.length) {
			return new byte[0];
		}
		return rawPixels;
	}
Compute the uncompressed image data size for a single line based upon getWidth() and
getBitCount().
@return computed image data size for single line
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/BitmapResource.java