Exif data for camera flash?

Wow is the exif standard complex. All I'm trying to determine is "was the flash used in this picture." The flash tag that's in the exif data is pretty complex and has a lot of variations. I'm not entirely sure but I think all you need is the first bit of that data. If that bit is set then the flash fired, otherwise it didn't.

$flash_fired = $exif['Flash'] & 1;
Leave A Reply
All content licensed under the Creative Commons License