'Returns an ImageClip made out of the clip\'s frame at time ``t``,
which can be expressed in seconds (15.35), in (min, sec),
in (hour, min, sec), or as a string: \'01:03:05.35\'.'

@convert_to_seconds(['t'])
def to_ImageClip(self, t=0, with_mask=True):

    newclip = ImageClip(self.get_frame(t), ismask=self.ismask)
    if (with_mask and (self.mask is not None)):
        newclip.mask = self.mask.to_ImageClip(t)
    return newclip
