<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_megaman_image(factor=1):
 """Return an RGBA representation of the megaman icon"""

    imfile = os.path.join(os.path.dirname(__file__), 'megaman.png')
    data = ndimage.imread(imfile) / 255
    if factor > 1:
        data = data.repeat(factor, axis=0).repeat(factor, axis=1)
    return data