I want to develop an app for smartphones to measure some special parameters with taking images. I think if I have the color temperature value that camera in auto white balance mode applied on that image, I can estimate that parameter more accurately. Do you think is there any way to find this value? I know that is possible in raw files, but i want to know can I find in somewhere in jpg image captured by smartphone or can I calculate it?


  • This question appears to be off-topic because it is really about the APIs that smartphones make available. That's not a photography question -- it's a programming one, and one that's specific to each phone OS. – Please Read My Profile Sep 28 '14 at 1:20
  • 1
    I'd say that "can I find it in the JPEG?" makes this on-topic. – Philip Kendall Sep 28 '14 at 22:13
  • @PhilipKendall I can't see why. It's still about "measuring some special parameters", not about photography. (Cameras can also be used as doorstops or to pound in nails, but those questions are also off topic.) – Please Read My Profile Oct 14 '14 at 18:55
  • I asked this question in programming section but they told me it depends to photography and you should ask it in there. Now you asking me to ask this question in programming one. What should I do ?!!! – Farshad Vesali Oct 15 '14 at 19:48

Check the metadata with exiftool. If it is there, you are lucky. I don't think color space information of this detail is captured, especially with a smartphone..

| improve this answer | |
  • exiftool doesn't show the color temperature value of raw file ! I found it in adobe Photoshop for raw file. but there was nothing for jpg file. Even the jpg file that was captured by a DSLR camera !! – Farshad Vesali Sep 26 '14 at 15:38
  • If the jpeg image has color temperature information, you can retrieve it with this exiftool command: exiftool -ColorTemperature <file name>. I just tested it and it works on jpg files I have. – MirekE Sep 27 '14 at 20:19
  • 1
    Clarification to the above - random test shows that my digital camera files have this exif information, but mobile phone files don't. – MirekE Sep 27 '14 at 20:34
  • I test with my camera (Sony Nex 3N) But I couldn't find it in JPEG mode. What is the brand of your Camera? – Farshad Vesali Oct 14 '14 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.