from osr2mp4.ImageProcess.PrepareFrames.YImage import YImage

ranking = "ranking-"


def prepare_rankinggrade(scale, settings):
	frames = []

	grades = ["X", "S", "A", "B", "C", "D"]
	for grade in grades:
		frames.append(YImage(ranking + grade, settings, scale).img)

	frameshd = [YImage(ranking + "XH", settings, scale).img, YImage(ranking + "SH", settings, scale).img]
	frameshd.extend(frames[2:])

	return frames, frameshd
