Berkeley CSUA MOTD:Entry 41869
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/08 [General] UID:1000 Activity:popular
7/8     

2006/2/15 [Computer/SW/OS/OsX, Consumer/Camera] UID:41869 Activity:low
2/15    I know this has probably been asked before, but I can't find it
        in the archives:  is there a (Windows) tool to change metadata
        (date & time taken) of a large number of JPG photos?  I just realized
        that my camera's 12 hours off.  -John
        \_ http://www.sentex.net/~mwandel/jhead  --dbushong
           \_ Many thanks.  -John
2025/07/08 [General] UID:1000 Activity:popular
7/8     

You may also be interested in these entries...
2012/9/14-11/7 [Consumer/Camera, Consumer/CellPhone] UID:54477 Activity:nil 53%like:54476
9/12    iPhone 4S has new features like 8MP rear camera and Siri, and iPhone 5
        has 1.2MP front camera, 4" display, and 4G LTE.  My 17-month-old
        Android phone has 8MP rear camera, 1.3MP front camera, 4.2" display,
        voice search, voice-to-text that supports English, Cantonese,
        Mandarin, Japanese plus other languages/dialects that I don't speak,
        4G LTE, and voice-guided navigation, all built-in.  I don't get what
	...
2012/9/12-14 [Consumer/Camera, Consumer/CellPhone] UID:54476 Activity:nil 53%like:54477
9/12    iPhone 4S has new features like 8MP camera and Siri, and iPhone 5 has
        4" display and 4G LTE.  My 17-month old Android phone has 8MP camera,
        4.2" display, built-in voice search and voice typing, and 4G LTE.  I
        don't get it.
	...
2012/3/7-26 [Consumer/Camera] UID:54328 Activity:nil
3/7     Does anyone else think the iPad3 isn't really that much better
        than the iPad2?  I don't really understand the hype.
        \_ 5MP camera?  My 1-yr-old Android phone has a 8MP auto-focus camera
           (plus a 1MP focus-free one on the front.)
              \_ The iPad camera seems like a joke to me.  The iPad is just
                 to big to be useful for taking pictures.  Maybe it makes
	...
2010/9/28-30 [Consumer/Camera] UID:53969 Activity:high
9/28    A lot of photos I take come out blurry. A lot of them are clear,
        too, but the proportion of blurry photos is high. This has led me
        to take more photos than I otherwise would in hopes of getting a
        clear one. I took some photos of the Rio grande and they
        were all awesome, but the next day I took photos of landscapes
        and almost all of them were blurry. Could it be the camera or is
	...
2010/4/8-5/10 [Consumer/Camera] UID:53778 Activity:nil
4/8     I want to by my mom a point and shoot camera for about $150 because
        she's running around with this 1 megapixel camera from back in the
        day. I looked at Canon and Nikon, but I am not as into this stuff as
        some people on MOTD are. I take photos with my Blackberry. What's
        a good choice in that price range? Definitely not more than $200.
        \_ Canon has the best point and shoot cameras.  The A1100 or A495
	...
2009/10/16-11/3 [Consumer/Camera] UID:53456 Activity:nil
10/16   Interesting new Canon P&S cameras: G11, S90.
        http://www.bhphotovideo.com/c/find/newsLetter/PowerShot-G11-S90.jsp
        BTW, has anybody used the new D10 [not the old 10D] ... any thoguhts?
        I'm trying to pick between {my G10 + buy waterproof housing} or
        a buy a nw D10 (beach, boat/raft/kayak, snorkel ... not scuba).
        \_ http://visualsciencelab.blogspot.com/2009/10/canon-g11-new-professional-camera.html
	...
Cache (3345 bytes)
www.sentex.net/~mwandel/jhead -> www.sentex.net/~mwandel/jhead/
Exif files are for the most part Jpeg files, but start with a different header block, and contain additional data sections with camera settings, as well as a preview thumbnail picture as part of the Exif header. Many image btowsers today make use of this integral thumnbail when browsingg, while other browsers make their own thumbnails based on the image as a whole. Because I am interested in photography, I am always curious just exactly what settings my fully automatic digital camera actually did end up using. There's a few programs out there that can parse some of these headers, but I couldn't find one that I could compile to an executable, and none that actually figured out what the camera settings were from the various confusing ways in which the fields can be expressed. Parsing the data of interest out of an Exif header is not straightforward. There is a large number of ways that simple data such as shutter speed or aperture setting can be expressed in inside of an Exif header. It can be an integer of various forms, or a fraction or floating point, which must subsequently be raised to a power to get the true value. Then it can be stored big-endian or little endian, and there are different fields for expressing the same values! It sounds like complete evolutionary anarchy, but I think it's just a commitee designed spec. So I wrote this command line driven program to parse through the little file system in the Exif headers and extract the stuff I really care about: What the digital camera settings really were. The other thing I realized is that the files coming out of most digital cameras contain an integral thumbnail as part of the Exif header. This thumbnail is used for flipping through really tiny images on the LCD, although most cameras, when viewing just one image on the LCD don't use it (too little detail). This thumbnail takes up typically around 10k of data in the header. Once the picture is off the camera, image browsers don't depend on it. In the years since, images have become much larger, so the 10k has become less important. But various image browsers now make use of this thumbnail. However, the thumbnail can become incorrect if the image is manipulated but not the thumbnail. So I added the -rgt option to regenerate the thumbnails. command line options for manipulating Exif files, such as options to manipulate the date in the header, renaming image files, or coordinating running Jpegtran and Mogrify to manipulate whole directory trees of images. Windows browsers have the annoying habit of renaming files on saving, so you may have to rename the file back to what is shown for programs to recognize them properly. For novice Lunux/Unix/OS-X users: Don't forget to set the executable bit after downloading the pre-built executables. Type "chmod +x jhead" at a shell window after downloading it to do this. You don't have to do this if you use one of the RPM packages. change log I don't have access to a Mac or a Solaris box, so I have to wait until somebody sends me a compiled executable for those platforms whenever I make a new release. A program this small is not worth bothering restricting anybody with, and I'm too lazy to look into the ramifications of GPL or BSD liscenses. Besides, I hope more people integrate this sort of functionality into their programs, free or not free.