⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 olympus.php

📁 CMS系统 提供学习研究修改最好了 比流行的一些CMS简单 但是更容易理解 是帮助你学习PHPCMS系统的好东东哦
💻 PHP
📖 第 1 页 / 共 2 页
字号:
                return FALSE;
        }

        // Check if the Decoded data is valid
        if ( $Makernote_tag['Decoded Data'][0] === FALSE )
        {
                // Decoded data is not valid - can't interpret with this function
                return FALSE;
        }

        // Minolta Thumbnail 1
        if ( ( array_key_exists( 0x0088, $Makernote_tag['Decoded Data'][0] ) ) &&
             ( $Makernote_tag['Makernote Tags'] == "Olympus" ) )
        {
                // Change: as of version 1.11 - Changed to make thumbnail link portable across directories
                // Build the path of the thumbnail script and its filename parameter to put in a url
                $link_str = get_relative_path( dirname(__FILE__)  . "/../get_minolta_thumb.php" , getcwd ( ) );
                $link_str .= "?filename=";
                $link_str .= get_relative_path( $filename, dirname(__FILE__) ."/.." );

                // Add thumbnail link to html
                $Makernote_tag['Decoded Data'][0][0x0088]['Text Value'] = "<a class=\"EXIF_Minolta_Thumb_Link\" href=\"$link_str\" ><img class=\"EXIF_Minolta_Thumb\" src=\"$link_str\"></a>";

                $Makernote_tag['Decoded Data'][0][0x0088]['Type'] = "String";
        }
        // Minolta Thumbnail 2
        if ( ( array_key_exists( 0x0081, $Makernote_tag['Decoded Data'][0] ) ) &&
             ( $Makernote_tag['Makernote Tags'] == "Olympus" ) )
        {
                // Change: as of version 1.11 - Changed to make thumbnail link portable across directories
                // Build the path of the thumbnail script and its filename parameter to put in a url
                $link_str = get_relative_path( dirname(__FILE__) . " /../get_minolta_thumb.php" , getcwd ( ) );
                $link_str .= "?filename=";
                $link_str .= get_relative_path( $filename, dirname(__FILE__) ."/.." );

                // Add thumbnail link to html
                $Makernote_tag['Decoded Data'][0][0x0081]['Text Value'] = "<a class=\"EXIF_Minolta_Thumb_Link\" href=\"$link_str\" ><img class=\"EXIF_Minolta_Thumb\" src=\"$link_str\"></a>";
                $Makernote_tag['Decoded Data'][0][0x0081]['Type'] = "String";
        }

        // Interpret the IFD and return the HTML
        return interpret_IFD( $Makernote_tag['Decoded Data'][0], $filename );

}

/******************************************************************************
* End of Function:     get_Olympus_Makernote_Html
******************************************************************************/












/******************************************************************************
* Global Variable:      IFD_Tag_Definitions, Olympus
*
* Contents:     This global variable provides definitions of the known Olympus
*               Makernote tags, indexed by their tag number.
*               It also includes Minolta and Agfa tags, as they use many of the
*               same tags
*
******************************************************************************/

$GLOBALS[ "IFD_Tag_Definitions" ]["Olympus"] = array(

0x0000 => array( 'Name' => "Makernote Version",           // Minolta
                 'Type' => "String" ),

0x0001 => array( 'Name' => "Camera Settings",           // Minolta
                 'Type' => "Special" ),

0x0003 => array( 'Name' => "Camera Settings",           // Minolta
                 'Type' => "Special" ),

0x0040 => array( 'Name' => "Compressed Image Size",           // Minolta
                 'Type' => "Numeric",
                 'Units' => "Bytes" ),

0x0081 => array( 'Name' => "Minolta Thumbnail",           // Minolta
                 'Type' => "Special" ),

0x0088 => array( 'Name' => "Minolta Thumbnail",           // Minolta
                 'Type' => "Special" ),

0x0089 => array( 'Name' => "Minolta Thumbnail Length",           // Minolta
                 'Type' => "Numeric",
                 'Units' => "bytes" ),

0x0101 => array( 'Name' => "Colour Mode",           // Minolta
                 'Type' => "Lookup",
                 0 => "Natural Colour",
                 1 => "Black & White",
                 2 => "Vivid colour",
                 3 => "Solarization",
                 4 => "AdobeRGB" ),

0x0102 => array( 'Name' => "Image Quality",           // Minolta
                 'Type' => "Lookup",
                 0 => "Raw",
                 1 => "Super Fine",
                 2 => "Fine",
                 3 => "Standard",
                 4 => "Extra Fine" ),

0x0103 => array( 'Name' => "Image Quality?",           // Minolta
                 'Type' => "Lookup",
                 0 => "Raw",
                 1 => "Super Fine",
                 2 => "Fine",
                 3 => "Standard",
                 4 => "Extra Fine" ),



0x0200 => array( 'Name' => "Special Mode",
                'Type' => "Special" ),


0x0201 => array( 'Name' => "JPEG Quality",
                 'Type' => "Lookup",
                 1 => "Standard Quality",
                 2 => "High Quality",
                 3 => "Super High Quality" ),

0x0202 => array( 'Name' => "Macro",
                 'Type' => "Lookup",
                 0 => "Normal (Not Macro)",
                 1 => "Macro" ),

0x0204 => array( 'Name' => "Digital Zoom",
                 'Type' => "Numeric",
                 'Units' => " x Digital Zoom, (0 or 1 = normal)" ),

0x0207 => array( 'Name' => "Firmware Version",
                'Type' => "String" ),


0x0208 => array( 'Name' => "Picture Info Data",
                'Type' => "String" ),

0x0209 => array( 'Name' => "Camera ID",
                'Type' => "String" ),


0x020B => array( 'Name' => "Image Width",        // Epson Tag
                'Type' => "Pixels" ),

0x020C => array( 'Name' => "Image Height",        // Epson Tag
                'Type' => "Pixels" ),

0x020D => array( 'Name' => "Original Manufacturer Model?",        // Epson Tag
                'Type' => "String" ),

0x0E00 => array( 'Name'=> "Print Image Matching Info",     // Minolta Tag
                 'Type' => "PIM" ),

0x1004 => array( 'Name' => "Flash Mode",
                 'Type' => "Numeric" ),

0x1006 => array( 'Name' => "Bracket",
                 'Type' => "Numeric" ),

0x100B => array( 'Name' => "Focus Mode",
                 'Type' => "Numeric" ),

0x100C => array( 'Name' => "Focus Distance",
                 'Type' => "Numeric" ),

0x100D => array( 'Name' => "Zoom",
                 'Type' => "Numeric" ),

0x100E => array( 'Name' => "Macro Focus",
                 'Type' => "Numeric" ),

0x100F => array( 'Name' => "Sharpness",
                 'Type' => "Numeric" ),

0x1011 => array( 'Name' => "Colour Matrix",
                 'Type' => "Numeric" ),

0x1012 => array( 'Name' => "Black Level",
                 'Type' => "Numeric" ),

0x1015 => array( 'Name' => "White Balance",
                 'Type' => "Numeric" ),

0x1017 => array( 'Name' => "Red Bias",
                 'Type' => "Numeric" ),

0x1018 => array( 'Name' => "Blue Bias",
                 'Type' => "Numeric" ),

0x101A => array( 'Name' => "Serial Number",
                 'Type' => "Numeric" ),

0x1023 => array( 'Name' => "Flash Bias",
                 'Type' => "Numeric" ),

0x1029 => array( 'Name' => "Contrast",
                 'Type' => "Numeric" ),

0x102A => array( 'Name' => "Sharpness Factor",
                 'Type' => "Numeric" ),

0x102B => array( 'Name' => "Colour Control",
                 'Type' => "Numeric" ),

0x102C => array( 'Name' => "Valid Bits",
                 'Type' => "Numeric" ),

0x102D => array( 'Name' => "Coring Filter",
                 'Type' => "Numeric" ),

0x102E => array( 'Name' => "Final Width",
                 'Type' => "Numeric" ),

0x102F => array( 'Name' => "Final Height",
                 'Type' => "Numeric" ),

0x1034 => array( 'Name' => "Compression Ratio",
                 'Type' => "Numeric" ),



);


/******************************************************************************
* End of Global Variable:     IFD_Tag_Definitions, Olympus
******************************************************************************/





?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -