one pass image combination