private static ByteProvider createByteProvider(File file) throws GhidraException {
		if (file == null) {
			throw new GhidraException("Attempted to process a null file");
		}
		try {
			return new RandomAccessByteProvider(file);
		}
		catch (IOException e) {
			throw new GhidraException(e);
		}
	}
Returns a list of byte[] containing image data.  The bytes will be either a png, a gif, or
a bitmap
Ghidra/Features/Base/src/main/java/ghidra/program/examiner/ProgramExaminer.java