<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rigthgen(self, value=0):
 """Generate rows to fill right pixels in int mode"""

        while True:
            yield self.newarray(self.nplanes_right * self.width, value)