change in tom.cpp to output XRGB888 instead of RGBA