protected int addComponents(MemBuffer buf, BitmapResource bmr, List<DataTypeComponent> comps) {
		// see spec: https://msdn.microsoft.com/en-us/library/windows/desktop/dd183376%28v=vs.85%29.aspx
		//https://msdn.microsoft.com/en-us/library/windows/desktop/dd183375%28v=vs.85%29.aspx

		// Fixed-length components
		int offset = 0;
		offset = addComp(DWordDataType.dataType, 4, "size", comps, offset);       	//size of structure
		offset = addComp(DWordDataType.dataType, 4, "width", comps, offset);      	//width of bitmap in pixels
		offset = addComp(DWordDataType.dataType, 4, "height", comps, offset);  		//height of bitmap in pixels
		offset = addComp(WordDataType.dataType, 2, "planes", comps, offset);   		//number of planes - value must be a 1
		offset = addComp(WordDataType.dataType, 2, "bitCount", comps, offset); 		//number of bits per pixel													   		
		offset = addComp(DWordDataType.dataType, 4, "compression", comps, offset);  //type of compression for a compressed bottom-up bitmap (top down ones can't be compressed)
		offset = addComp(DWordDataType.dataType, 4, "sizeImage", comps, offset);
		offset = addComp(DWordDataType.dataType, 4, "XpelsPerMeter", comps, offset);
		offset = addComp(DWordDataType.dataType, 4, "YpelsPerMeter", comps, offset);
		offset = addComp(DWordDataType.dataType, 4, "clrUsed", comps, offset);
		offset = addComp(DWordDataType.dataType, 4, "clrImportant", comps, offset);

		int arraySize = bmr.getColorMapLength();
		if (arraySize > 0) {
			Array array = new ArrayDataType(ByteDataType.dataType, arraySize, 1);
			offset = addComp(array, arraySize, "ColorMap", comps, offset);
		}
		arraySize = bmr.getRawSizeImage();
		if (arraySize > 0) {
			Array array = new ArrayDataType(ByteDataType.dataType, arraySize, 1);
			offset = addComp(array, arraySize, "ImageData", comps, offset);
		}
		return offset;
	}
Definition of a Bitmap Resource Data Structure defined within the
resources section of a windows executable.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/BitmapResourceDataType.java