def rescale_presentation(new_height, new_width, dictionary): times = dictionary.keys() times.sort() for i, t in enumerate(times): if i < 0: continue ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
def rescale_presentation(new_height, new_width, dictionary, bbb_version): times = list(dictionary.keys()) times.sort() for i, t in enumerate(times): if i < 1 and '2.0.0' > bbb_version: continue ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
def rescale_presentation(new_height, new_width, dictionary): times = dictionary.keys() times.sort() for i, t in enumerate(times): if i < 1: continue ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
def rescale_presentation(new_height, new_width, dictionary, bbb_version): times = dictionary.keys() times.sort() for i, t in enumerate(times): # ? #print >> sys.stderr, "_rescale_presentation_" #print >> sys.stderr, (i, t) if i < 1 and '2.0.0' > bbb_version: continue #print >> sys.stderr, "_rescale_presentation_after_skip_" #print >> sys.stderr, (i, t) ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
def rescale_presentation(self, new_height, new_width): for slide in self.meeting.slides: ffmpeg.rescale_image(slide['full_path'], new_height, new_width, slide['full_path'])