Easiest way to do that would be to save your file in TIFF format. It's a completely uncompressed image file. I only know that you can do that in Photoshop, i'm not sure if you can do that in other programs.