bitmap structure to abstract out linux specific XImage