Originally posted by domino@Dimanche 9 Janvier 2005 23:04
ok rebek21... et ?
Un truc du genre:
Code:
echo flash($exif[EXIF]['Flash']);

function flash($mode)
{
$binstring = decbin($mode);
$hexstring = dechex($mode);
switch ($hexstring)
  {
  case '00': $hexstring = "Pas de flash";break;
  case '01': $hexstring = "Flash";break;
  case '05': $hexstring = "strobe return light not detected";break;
  case '07': $hexstring = "strobe return light detected";break;
...
  case '5F': $hexstring = "Flash, mode Auto, réduction yeux-rouge, Return light detected";break;
   }
  return $hexstring;
}