Most digital cameras especially SLRs are now using RAW file format which retains all the details unlike jpg file formats which is a lossy compression.

Now Linux users can also use RAW. You can use the UFRaw, which can also be used as a plugin for gimp.