Save turtle output as jpeg
问题 I have a fractal image creator. It creates a random fractal tree like thing. When done, it prompts the user to save the tree. I have it saving as a .svg right now and that works BUT I want it to save to a more convenient file type, like jpeg. Any ideas? Code: import turtle import random from sys import exit from time import clock import canvasvg turtle.colormode(255) red = 125 green = 70 blue = 38 pen = 10 def saveImg(): print("Done.") save = input("Would you like to save this tree? Y/N \n")