I'm not sure if you already know this, but a JPEG is made up of
pixels, and a FIG (or any other vector file) is made up of
mathematical equations to construct the lines and circles. Therefore,
you can't convert a JPEG to a FIG, but you could convert a FIG to a
JPEG.