Usually what I do is use a program called GIMP, though you can do it in others, that's just the free one I use. I save the image, then open it in GIMP. There when I export the file, I can simply change it from whatever it is to JPG and also save it in the quality I like. You can also resize and do lots of different editing in GIMP, including of GIFs as well.