What do you mean "totally messed up"? Fuzzy around edges and stuff? If that's it, just don't save as jpeg. Use Targa or other umcompressed format.