Cache gray images