"; $Makernote_tag['Decoded Data'][0][4]['Type'] = "String"; } // Casio Thumbnail (Tag 8192) if ( ( array_key_exists( 8192, $Makernote_tag['Decoded Data'][0] ) ) && ( $Makernote_tag['Makernote Tags'] == "Casio Type 2" ) ) { $Makernote_tag['Decoded Data'][0][8192]['Text Value'] = ""; $Makernote_tag['Decoded Data'][0][8192]['Type'] = "String"; } // Check if there are two thumbnail offset tags if ( ( array_key_exists( 4, $Makernote_tag['Decoded Data'][0] ) ) && ( array_key_exists( 8192, $Makernote_tag['Decoded Data'][0] ) ) ) { // There are two copies of the thumbnail offset - Remove one array_splice( $Makernote_tag['Decoded Data'][0], 4, 1); } // Interpret the IFD and return the html return interpret_IFD( $Makernote_tag['Decoded Data'][0], $filename ); } /****************************************************************************** * End of Function: get_Casio_Makernote_Html ******************************************************************************/ /****************************************************************************** * Global Variable: IFD_Tag_Definitions, Casio Type 1 * * Contents: This global variable provides definitions of the known Casio Type 1 * Makernote tags, indexed by their tag number. * ******************************************************************************/ $GLOBALS[ "IFD_Tag_Definitions" ]["Casio Type 1"] = array( 1 => array( 'Name' => "Recording Mode", 'Type' => "Lookup", 1 => "Single Shutter", 2 => "Panorama", 3 => "Night Scene", 4 => "Portrait", 5 => "Landscape" ), 2 => array( 'Name' => "Quality", 'Type' => "Lookup", 1 => "Economy", 2 => "Normal", 3 => "Fine" ), 3 => array( 'Name' => "Focusing Mode", 'Type' => "Lookup", 2 => "Macro", 3 => "Auto Focus", 4 => "Manual Focus", 5 => "Infinity" ), 4 => array( 'Name' => "Flash Mode", 'Type' => "Lookup", 1 => "Auto", 2 => "On", 3 => "Off", 4 => "Off" ), 5 => array( 'Name' => "Flash Intensity", 'Type' => "Lookup", 11 => "Weak", 13 => "Normal", 15 => "Strong" ), 6 => array( 'Name' => "Object Distance", 'Type' => "Numeric", 'Units' => "mm" ), 7 => array( 'Name' => "White Balance", 'Type' => "Lookup", 1 => "Auto", 2 => "Tungsten", 3 => "Daylight", 4 => "Flourescent", 5 => "Shade", 129 => "Manual" ), 10 => array( 'Name' => "Digital Zoom", 'Type' => "Lookup", 0x10000 => "Off", 0x10001 => "2x Digital Zoom", 0x20000 => "2x Digital Zoom", 0x40000 => "4x Digital Zoom" ), 11 => array( 'Name' => "Sharpness", 'Type' => "Lookup", 0 => "Normal", 1 => "Soft", 2 => "Hard" ), 12 => array( 'Name' => "Contrast", 'Type' => "Lookup", 0 => "Normal", 1 => "Low", 2 => "High" ), 13 => array( 'Name' => "Saturation", 'Type' => "Lookup", 0 => "Normal", 1 => "Low", 2 => "High" ), 20 => array( 'Name' => "CCD Sensitivity", 'Type' => "Lookup", 64 => "Normal", 125 => "+1.0", 250 => "+2.0", 244 => "+3.0", 80 => "Normal (ISO 80 equivalent)", 100 => "High" ), ); /****************************************************************************** * End of Global Variable: IFD_Tag_Definitions, Casio Type 1 ******************************************************************************/ /****************************************************************************** * Global Variable: IFD_Tag_Definitions, Casio Type 2 * * Contents: This global variable provides definitions of the known Casio Type 2 * Makernote tags, indexed by their tag number. * ******************************************************************************/ $GLOBALS[ "IFD_Tag_Definitions" ]["Casio Type 2"] = array( 0x0002 => array( 'Name' => "Preview Thumbnail Dimensions", 'Type' => "Numeric", 'Units' => "(x,y pixels)" ), 0x0003 => array( 'Name' => "Preview Thumbnail Size", 'Type' => "Numeric", 'Units' => "bytes" ), 0x0004 => array( 'Name' => "Preview Thumbnail", // thumbnail offset 'Type' => "Numeric" ), 0x0008 => array( 'Name' => "Quality Mode", 'Type' => "Lookup", 1 => "Fine", 2 => "Super Fine" ), 0x0009 => array( 'Name' => "Image Size", 'Type' => "Lookup", 20 => "2288 x 1712 pixels", 36 => "3008 x 2008 pixels", 5 => "2048 x 1536 pixels", 4 => "1600 x 1200 pixels", 21 => "2592 x 1944 pixels", 0 => "640 x 480 pixels", 22 => "2304 x 1728 pixels" ), 0x000D => array( 'Name' => "Focus Mode", 'Type' => "Lookup", 0 => "Normal", 1 => "Macro" ), 0x0014 => array( 'Name' => "Iso Sensitivity", 'Type' => "Lookup", 3 => "50", 4 => "64", 6 => "100", 9 => "200" ), 0x0019 => array( 'Name' => "White Balance", 'Type' => "Lookup", 0 => "Auto", 1 => "Daylight", 2 => "Shade", 3 => "Tungsten", 4 => "Fluorescent", 5 => "Manual" ), 0x001D => array( 'Name' => "Focal Length", 'Type' => "Special", 'Units' => "mm" ), 0x001F => array( 'Name' => "Saturation", 'Type' => "Lookup", 0 => "-1", 1 => "Normal", 2 => "+1", ), 0x0020 => array( 'Name' => "Contrast", 'Type' => "Lookup", 0 => "-1", 1 => "Normal", 2 => "+1", ), 0x0021 => array( 'Name' => "Sharpness", 'Type' => "Lookup", 0 => "-1", 1 => "Normal", 2 => "+1", ), 0x0e00 => array( 'Name' => "Print Image Matching Info", 'Type' => "PIM" ), 0x2000 => array( 'Name' => "Casio Preview Thumbnail", // thumbnail offset 'Type' => "String" ), 0x2011 => array( 'Name' => "White Balance Bias", 'Type' => "Numeric" ), 0x2012 => array( 'Name' => "White Balance", 'Type' => "Lookup", 12 => "Flash", 0 => "Manual", 1 => "Auto?", 4 => "Flash?", ), 0x2022 => array( 'Name' => "Object Distance", 'Type' => "Numeric", 'Units' => "mm" ), 0x2034 => array( 'Name' => "Flash Distance", 'Type' => "Numeric", 'Units' => " (0=Off)" ), 0x3000 => array( 'Name' => "Record Mode", 'Type' => "Lookup", 2 => "Normal Mode" ), 0x3001 => array( 'Name' => "Self Timer?", 'Type' => "Lookup", 1 => "Off?" ), 0x3002 => array( 'Name' => "Quality", 'Type' => "Lookup", 3 => "Fine" ), 0x3003 => array( 'Name' => "Focus Mode", 'Type' => "Lookup", 6 => "Multi-Area Auto Focus", 1 => "Fixation" ), 0x3006 => array( 'Name' => "Time Zone", 'Type' => "String" ), 0x3007 => array( 'Name' => "Bestshot Mode", 'Type' => "Lookup", 0 => "Off", 1 => "On?" ), 0x3014 => array( 'Name' => "CCD ISO Sensitivity", 'Type' => "Numeric" ), 0x3015 => array( 'Name' => "Colour Mode", 'Type' => "Lookup", 0 => "Off" ), 0x3016 => array( 'Name' => "Enhancement", 'Type' => "Lookup", 0 => "Off" ), 0x3017 => array( 'Name' => "Filter", 'Type' => "Lookup", 0 => "Off" ), ); /****************************************************************************** * End of Global Variable: IFD_Tag_Definitions, Casio Type 2 ******************************************************************************/ ?>