@@ 502-511 (lines=10) @@ | ||
499 | break; |
|
500 | ||
501 | case 'ExposureMode': |
|
502 | switch ( $val ) { |
|
503 | case 0: |
|
504 | case 1: |
|
505 | case 2: |
|
506 | $val = $this->exifMsg( $tag, $val ); |
|
507 | break; |
|
508 | default: |
|
509 | /* If not recognized, display as is. */ |
|
510 | break; |
|
511 | } |
|
512 | break; |
|
513 | ||
514 | case 'WhiteBalance': |
|
@@ 527-537 (lines=11) @@ | ||
524 | break; |
|
525 | ||
526 | case 'SceneCaptureType': |
|
527 | switch ( $val ) { |
|
528 | case 0: |
|
529 | case 1: |
|
530 | case 2: |
|
531 | case 3: |
|
532 | $val = $this->exifMsg( $tag, $val ); |
|
533 | break; |
|
534 | default: |
|
535 | /* If not recognized, display as is. */ |
|
536 | break; |
|
537 | } |
|
538 | break; |
|
539 | ||
540 | case 'GainControl': |
|
@@ 541-552 (lines=12) @@ | ||
538 | break; |
|
539 | ||
540 | case 'GainControl': |
|
541 | switch ( $val ) { |
|
542 | case 0: |
|
543 | case 1: |
|
544 | case 2: |
|
545 | case 3: |
|
546 | case 4: |
|
547 | $val = $this->exifMsg( $tag, $val ); |
|
548 | break; |
|
549 | default: |
|
550 | /* If not recognized, display as is. */ |
|
551 | break; |
|
552 | } |
|
553 | break; |
|
554 | ||
555 | case 'Contrast': |
|
@@ 556-565 (lines=10) @@ | ||
553 | break; |
|
554 | ||
555 | case 'Contrast': |
|
556 | switch ( $val ) { |
|
557 | case 0: |
|
558 | case 1: |
|
559 | case 2: |
|
560 | $val = $this->exifMsg( $tag, $val ); |
|
561 | break; |
|
562 | default: |
|
563 | /* If not recognized, display as is. */ |
|
564 | break; |
|
565 | } |
|
566 | break; |
|
567 | ||
568 | case 'Saturation': |
|
@@ 569-578 (lines=10) @@ | ||
566 | break; |
|
567 | ||
568 | case 'Saturation': |
|
569 | switch ( $val ) { |
|
570 | case 0: |
|
571 | case 1: |
|
572 | case 2: |
|
573 | $val = $this->exifMsg( $tag, $val ); |
|
574 | break; |
|
575 | default: |
|
576 | /* If not recognized, display as is. */ |
|
577 | break; |
|
578 | } |
|
579 | break; |
|
580 | ||
581 | case 'Sharpness': |
|
@@ 582-591 (lines=10) @@ | ||
579 | break; |
|
580 | ||
581 | case 'Sharpness': |
|
582 | switch ( $val ) { |
|
583 | case 0: |
|
584 | case 1: |
|
585 | case 2: |
|
586 | $val = $this->exifMsg( $tag, $val ); |
|
587 | break; |
|
588 | default: |
|
589 | /* If not recognized, display as is. */ |
|
590 | break; |
|
591 | } |
|
592 | break; |
|
593 | ||
594 | case 'SubjectDistanceRange': |
|
@@ 595-605 (lines=11) @@ | ||
592 | break; |
|
593 | ||
594 | case 'SubjectDistanceRange': |
|
595 | switch ( $val ) { |
|
596 | case 0: |
|
597 | case 1: |
|
598 | case 2: |
|
599 | case 3: |
|
600 | $val = $this->exifMsg( $tag, $val ); |
|
601 | break; |
|
602 | default: |
|
603 | /* If not recognized, display as is. */ |
|
604 | break; |
|
605 | } |
|
606 | break; |
|
607 | ||
608 | // The GPS...Ref values are kept for compatibility, probably won't be reached. |