Hind sight post:
This is the very reason of why it is important to save a master file (psd or tiff) besides the file that will be shared (jpg or png).
Psd and tiff support layers, live type and transparency. - loss-less compression
Png supports transparency - loss-less compression
jpg support high compression by throwing out data. - lossy compression