save decoded images