@Override
	public int getMaskLength() {

		// each mask line is padded to fall on a 4 byte boundary
		int lineLen = ((((getWidth() + 7) / 8) + 3) / 4) * 4;

		int masklen = lineLen * getHeight();

		return masklen;
	}
@return int size of mask section in bytes
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/IconResource.java