if you created that head, you shoudlve saved it to .png instead of .jpeg, and convering from jpeg to png doesnt repair the quality loss, (dunno why do u need a tool for that, you can always change the file name extension from windows/linux from .jpeg to .png) or if you created an animated head, never ever export it as an optimized gif because itll look really really bad